class Google::Apis::ContentV2_1::OrderLineItemShippingDetailsMethod

Attributes

carrier[RW]

The carrier for the shipping. Optional. See `shipments[].carrier` for a list of acceptable values. Corresponds to the JSON property `carrier` @return [String]

max_days_in_transit[RW]

Required. Maximum transit time. Corresponds to the JSON property `maxDaysInTransit` @return [Fixnum]

method_name[RW]

Required. The name of the shipping method. Corresponds to the JSON property `methodName` @return [String]

min_days_in_transit[RW]

Required. Minimum transit time. Corresponds to the JSON property `minDaysInTransit` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/content_v2_1/classes.rb, line 6072
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_1/classes.rb, line 6077
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