class Google::Apis::ContentV2_1::TestOrderDeliveryDetails
Attributes
address[RW]
The delivery address Corresponds to the JSON property `address` @return [Google::Apis::ContentV2_1::TestOrderAddress]
is_scheduled_delivery[RW]
Whether the order is scheduled delivery order. Corresponds to the JSON property `isScheduledDelivery` @return [Boolean]
is_scheduled_delivery?[RW]
Whether the order is scheduled delivery order. Corresponds to the JSON property `isScheduledDelivery` @return [Boolean]
phone_number[RW]
The phone number of the person receiving the delivery. 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 15183 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 15188 def update!(**args) @address = args[:address] if args.key?(:address) @is_scheduled_delivery = args[:is_scheduled_delivery] if args.key?(:is_scheduled_delivery) @phone_number = args[:phone_number] if args.key?(:phone_number) end