Class: Google::Apis::ContentV2_1::TestOrderDeliveryDetails
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::TestOrderDeliveryDetails
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/content_v2_1/classes.rb,
generated/google/apis/content_v2_1/representations.rb,
generated/google/apis/content_v2_1/representations.rb
Instance Attribute Summary collapse
-
#address ⇒ Google::Apis::ContentV2_1::TestOrderAddress
The delivery address Corresponds to the JSON property
address
. -
#is_scheduled_delivery ⇒ Boolean
(also: #is_scheduled_delivery?)
Whether the order is scheduled delivery order.
-
#phone_number ⇒ String
The phone number of the person receiving the delivery.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TestOrderDeliveryDetails
constructor
A new instance of TestOrderDeliveryDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TestOrderDeliveryDetails
Returns a new instance of TestOrderDeliveryDetails.
13193 13194 13195 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 13193 def initialize(**args) update!(**args) end |
Instance Attribute Details
#address ⇒ Google::Apis::ContentV2_1::TestOrderAddress
The delivery address
Corresponds to the JSON property address
13180 13181 13182 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 13180 def address @address end |
#is_scheduled_delivery ⇒ Boolean Also known as: is_scheduled_delivery?
Whether the order is scheduled delivery order.
Corresponds to the JSON property isScheduledDelivery
13185 13186 13187 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 13185 def is_scheduled_delivery @is_scheduled_delivery end |
#phone_number ⇒ String
The phone number of the person receiving the delivery.
Corresponds to the JSON property phoneNumber
13191 13192 13193 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 13191 def phone_number @phone_number end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13198 13199 13200 13201 13202 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 13198 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 |