Class: Google::Apis::ContentV2_1::OrdersCustomBatchRequestEntryUpdateShipmentScheduledDeliveryDetails
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::OrdersCustomBatchRequestEntryUpdateShipmentScheduledDeliveryDetails
- 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
Overview
ScheduledDeliveryDetails used to update the scheduled delivery order.
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) ⇒ OrdersCustomBatchRequestEntryUpdateShipmentScheduledDeliveryDetails
constructor
A new instance of OrdersCustomBatchRequestEntryUpdateShipmentScheduledDeliveryDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ OrdersCustomBatchRequestEntryUpdateShipmentScheduledDeliveryDetails
Returns a new instance of OrdersCustomBatchRequestEntryUpdateShipmentScheduledDeliveryDetails.
8202 8203 8204 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 8202 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
should be formatted as the international notation in
Corresponds to the JSON property carrierPhoneNumber
8195 8196 8197 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 8195 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
8200 8201 8202 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 8200 def scheduled_date @scheduled_date end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8207 8208 8209 8210 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 8207 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 |