class Google::Apis::ContentV2_1::TestOrderPickupDetails

Attributes

location_code[RW]

Required. Code of the location defined by provider or merchant. Corresponds to the JSON property `locationCode` @return [String]

pickup_location_address[RW]

Required. Pickup location address. Corresponds to the JSON property `pickupLocationAddress` @return [Google::Apis::ContentV2_1::TestOrderAddress]

pickup_location_type[RW]

Pickup location type. Acceptable values are: - “`locker`” - “`store`” - “` curbside`” Corresponds to the JSON property `pickupLocationType` @return [String]

pickup_persons[RW]

Required. all pickup persons set by users. Corresponds to the JSON property `pickupPersons` @return [Array<Google::Apis::ContentV2_1::TestOrderPickupDetailsPickupPerson>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/content_v2_1/classes.rb, line 15351
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 15356
def update!(**args)
  @location_code = args[:location_code] if args.key?(:location_code)
  @pickup_location_address = args[:pickup_location_address] if args.key?(:pickup_location_address)
  @pickup_location_type = args[:pickup_location_type] if args.key?(:pickup_location_type)
  @pickup_persons = args[:pickup_persons] if args.key?(:pickup_persons)
end