class Google::Apis::ContentV2::OrderLineItemShippingDetails
Attributes
deliver_by_date[RW]
Required. The delivery by date, in ISO 8601 format. Corresponds to the JSON property `deliverByDate` @return [String]
method_prop[RW]
Required. Details of the shipping method. Corresponds to the JSON property `method` @return [Google::Apis::ContentV2::OrderLineItemShippingDetailsMethod]
ship_by_date[RW]
Required. The ship by date, in ISO 8601 format. Corresponds to the JSON property `shipByDate` @return [String]
type[RW]
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
new(**args)
click to toggle source
# File lib/google/apis/content_v2/classes.rb, line 5016 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/content_v2/classes.rb, line 5021 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