Class: Google::Apis::ContentV2::OrderLineItemShippingDetails
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2::OrderLineItemShippingDetails
- Defined in:
- generated/google/apis/content_v2/classes.rb,
generated/google/apis/content_v2/representations.rb,
generated/google/apis/content_v2/representations.rb
Instance Attribute Summary collapse
-
#deliver_by_date ⇒ String
The delivery by date, in ISO 8601 format.
-
#method_prop ⇒ Google::Apis::ContentV2::OrderLineItemShippingDetailsMethod
Details of the shipping method.
-
#ship_by_date ⇒ String
The ship by date, in ISO 8601 format.
-
#type ⇒ String
Type of shipment.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OrderLineItemShippingDetails
constructor
A new instance of OrderLineItemShippingDetails.
-
#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) ⇒ OrderLineItemShippingDetails
Returns a new instance of OrderLineItemShippingDetails.
4857 4858 4859 |
# File 'generated/google/apis/content_v2/classes.rb', line 4857 def initialize(**args) update!(**args) end |
Instance Attribute Details
#deliver_by_date ⇒ String
The delivery by date, in ISO 8601 format.
Corresponds to the JSON property deliverByDate
4839 4840 4841 |
# File 'generated/google/apis/content_v2/classes.rb', line 4839 def deliver_by_date @deliver_by_date end |
#method_prop ⇒ Google::Apis::ContentV2::OrderLineItemShippingDetailsMethod
Details of the shipping method.
Corresponds to the JSON property method
4844 4845 4846 |
# File 'generated/google/apis/content_v2/classes.rb', line 4844 def method_prop @method_prop end |
#ship_by_date ⇒ String
The ship by date, in ISO 8601 format.
Corresponds to the JSON property shipByDate
4849 4850 4851 |
# File 'generated/google/apis/content_v2/classes.rb', line 4849 def ship_by_date @ship_by_date end |
#type ⇒ String
Type of shipment. Indicates whether deliveryDetails or pickupDetails is
applicable for this shipment.
Corresponds to the JSON property type
4855 4856 4857 |
# File 'generated/google/apis/content_v2/classes.rb', line 4855 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4862 4863 4864 4865 4866 4867 |
# File 'generated/google/apis/content_v2/classes.rb', line 4862 def update!(**args) @deliver_by_date = args[:deliver_by_date] if args.key?(:deliver_by_date) @method_prop = args[:method_prop] if args.key?(:method_prop) @ship_by_date = args[:ship_by_date] if args.key?(:ship_by_date) @type = args[:type] if args.key?(:type) end |