class Google::Apis::ContentV2::OrderPickupDetailsCollector

Attributes

name[RW]

Name of the person picking up the shipment. Corresponds to the JSON property `name` @return [String]

phone_number[RW]

Phone number of the person picking up the shipment. Corresponds to the JSON property `phoneNumber` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/content_v2/classes.rb, line 5191
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/content_v2/classes.rb, line 5196
def update!(**args)
  @name = args[:name] if args.key?(:name)
  @phone_number = args[:phone_number] if args.key?(:phone_number)
end