class Google::Apis::ContentV2::OrderLineItemShippingDetailsMethod
Attributes
carrier[RW]
The carrier for the shipping. Optional. Corresponds to the JSON property `carrier` @return [String]
max_days_in_transit[RW]
Maximum transit time. Corresponds to the JSON property `maxDaysInTransit` @return [Fixnum]
method_name[RW]
The name of the shipping method. Corresponds to the JSON property `methodName` @return [String]
min_days_in_transit[RW]
Minimum transit time. Corresponds to the JSON property `minDaysInTransit` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/content_v2/classes.rb, line 3137 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/content_v2/classes.rb, line 3142 def update!(**args) @carrier = args[:carrier] if args.key?(:carrier) @max_days_in_transit = args[:max_days_in_transit] if args.key?(:max_days_in_transit) @method_name = args[:method_name] if args.key?(:method_name) @min_days_in_transit = args[:min_days_in_transit] if args.key?(:min_days_in_transit) end