Class: Google::Apis::ContentV2sandbox::OrderDeliveryDetails
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2sandbox::OrderDeliveryDetails
- Defined in:
- generated/google/apis/content_v2sandbox/classes.rb,
generated/google/apis/content_v2sandbox/representations.rb,
generated/google/apis/content_v2sandbox/representations.rb
Instance Attribute Summary collapse
-
#address ⇒ Google::Apis::ContentV2sandbox::OrderAddress
The delivery address Corresponds to the JSON property
address
. -
#phone_number ⇒ String
The phone number of the person receiving the delivery.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OrderDeliveryDetails
constructor
A new instance of OrderDeliveryDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ OrderDeliveryDetails
Returns a new instance of OrderDeliveryDetails
388 389 390 |
# File 'generated/google/apis/content_v2sandbox/classes.rb', line 388 def initialize(**args) update!(**args) end |
Instance Attribute Details
#address ⇒ Google::Apis::ContentV2sandbox::OrderAddress
The delivery address
Corresponds to the JSON property address
381 382 383 |
# File 'generated/google/apis/content_v2sandbox/classes.rb', line 381 def address @address end |
#phone_number ⇒ String
The phone number of the person receiving the delivery.
Corresponds to the JSON property phoneNumber
386 387 388 |
# File 'generated/google/apis/content_v2sandbox/classes.rb', line 386 def phone_number @phone_number end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
393 394 395 396 |
# File 'generated/google/apis/content_v2sandbox/classes.rb', line 393 def update!(**args) @address = args[:address] if args.key?(:address) @phone_number = args[:phone_number] if args.key?(:phone_number) end |