Class: Google::Apis::ContentV2_1::OrderShipmentScheduledDeliveryDetails
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::OrderShipmentScheduledDeliveryDetails
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/content_v2_1/classes.rb,
lib/google/apis/content_v2_1/representations.rb,
lib/google/apis/content_v2_1/representations.rb
Instance Attribute Summary collapse
-
#carrier_phone_number ⇒ String
The phone number of the carrier fulfilling the delivery.
-
#scheduled_date ⇒ String
The date a shipment is scheduled for delivery, in ISO 8601 format.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OrderShipmentScheduledDeliveryDetails
constructor
A new instance of OrderShipmentScheduledDeliveryDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ OrderShipmentScheduledDeliveryDetails
Returns a new instance of OrderShipmentScheduledDeliveryDetails.
6430 6431 6432 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 6430 def initialize(**args) update!(**args) end |
Instance Attribute Details
#carrier_phone_number ⇒ String
The phone number of the carrier fulfilling the delivery. The phone number is
formatted as the international notation in ITU-T Recommendation E.123 (e.g., "+
41 44 668 1800").
Corresponds to the JSON property carrierPhoneNumber
6423 6424 6425 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 6423 def carrier_phone_number @carrier_phone_number end |
#scheduled_date ⇒ String
The date a shipment is scheduled for delivery, in ISO 8601 format.
Corresponds to the JSON property scheduledDate
6428 6429 6430 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 6428 def scheduled_date @scheduled_date end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6435 6436 6437 6438 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 6435 def update!(**args) @carrier_phone_number = args[:carrier_phone_number] if args.key?(:carrier_phone_number) @scheduled_date = args[:scheduled_date] if args.key?(:scheduled_date) end |