class Google::Apis::ContentV2_1::OrderLineItemShippingDetails
Attributes
Required. The delivery by date, in ISO 8601 format. Corresponds to the JSON property `deliverByDate` @return [String]
Required. Details of the shipping method. Corresponds to the JSON property `method` @return [Google::Apis::ContentV2_1::OrderLineItemShippingDetailsMethod]
The promised time in minutes in which the order will be ready for pickup. This only applies to buy-online-pickup-in-store same-day order. Corresponds to the JSON property `pickupPromiseInMinutes` @return [Fixnum]
Required. The ship by date, in ISO 8601 format. Corresponds to the JSON property `shipByDate` @return [String]
Type of shipment. Indicates whether `deliveryDetails` or `pickupDetails` is applicable for this shipment. Acceptable values are: - “`delivery`” - “`pickup` ” Corresponds to the JSON property `type` @return [String]
Public Class Methods
# File lib/google/apis/content_v2_1/classes.rb, line 6033 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/content_v2_1/classes.rb, line 6038 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) @pickup_promise_in_minutes = args[:pickup_promise_in_minutes] if args.key?(:pickup_promise_in_minutes) @ship_by_date = args[:ship_by_date] if args.key?(:ship_by_date) @type = args[:type] if args.key?(:type) end