class Google::Apis::ContentV2_1::TestOrderPickupDetailsPickupPerson

Attributes

name[RW]

Required. Full name of the pickup person. Corresponds to the JSON property `name` @return [String]

phone_number[RW]

Required. The phone number of the person picking up the items. Corresponds to the JSON property `phoneNumber` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/content_v2_1/classes.rb, line 15378
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_1/classes.rb, line 15383
def update!(**args)
  @name = args[:name] if args.key?(:name)
  @phone_number = args[:phone_number] if args.key?(:phone_number)
end