Class: Google::Apis::ContentV2_1::OrderShipmentScheduledDeliveryDetails

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OrderShipmentScheduledDeliveryDetails

Returns a new instance of OrderShipmentScheduledDeliveryDetails.



5859
5860
5861
# File 'generated/google/apis/content_v2_1/classes.rb', line 5859

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#carrier_phone_numberString

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

Returns:

  • (String)


5852
5853
5854
# File 'generated/google/apis/content_v2_1/classes.rb', line 5852

def carrier_phone_number
  @carrier_phone_number
end

#scheduled_dateString

The date a shipment is scheduled for delivery, in ISO 8601 format. Corresponds to the JSON property scheduledDate

Returns:

  • (String)


5857
5858
5859
# File 'generated/google/apis/content_v2_1/classes.rb', line 5857

def scheduled_date
  @scheduled_date
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5864
5865
5866
5867
# File 'generated/google/apis/content_v2_1/classes.rb', line 5864

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