class Google::Apis::ContentV2_1::OrderPickupDetails

Attributes

address[RW]

Address of the pickup location where the shipment should be sent. Note that ` recipientName` in the address is the name of the business at the pickup location. Corresponds to the JSON property `address` @return [Google::Apis::ContentV2_1::OrderAddress]

collectors[RW]

Collectors authorized to pick up shipment from the pickup location. Corresponds to the JSON property `collectors` @return [Array<Google::Apis::ContentV2_1::OrderPickupDetailsCollector>]

location_id[RW]

ID of the pickup location. Corresponds to the JSON property `locationId` @return [String]

pickup_type[RW]

The pickup type of this order. Acceptable values are: - “`merchantStore`” - “` merchantStoreCurbside`” - “`merchantStoreLocker`” - “`thirdPartyPickupPoint`” - “`thirdPartyLocker`” Corresponds to the JSON property `pickupType` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/content_v2_1/classes.rb, line 6165
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 6170
def update!(**args)
  @address = args[:address] if args.key?(:address)
  @collectors = args[:collectors] if args.key?(:collectors)
  @location_id = args[:location_id] if args.key?(:location_id)
  @pickup_type = args[:pickup_type] if args.key?(:pickup_type)
end