Class: Google::Apis::ContentV2sandbox::OrderLineItemShippingDetailsMethod
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::ContentV2sandbox::OrderLineItemShippingDetailsMethod
 
 
- Defined in:
 - generated/google/apis/content_v2sandbox/classes.rb,
generated/google/apis/content_v2sandbox/representations.rb,
generated/google/apis/content_v2sandbox/representations.rb 
Instance Attribute Summary collapse
- 
  
    
      #carrier  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The carrier for the shipping.
 - 
  
    
      #max_days_in_transit  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Maximum transit time.
 - 
  
    
      #method_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The name of the shipping method.
 - 
  
    
      #min_days_in_transit  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Minimum transit time.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ OrderLineItemShippingDetailsMethod 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of OrderLineItemShippingDetailsMethod.
 - 
  
    
      #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) ⇒ OrderLineItemShippingDetailsMethod
Returns a new instance of OrderLineItemShippingDetailsMethod
      869 870 871  | 
    
      # File 'generated/google/apis/content_v2sandbox/classes.rb', line 869 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#carrier ⇒ String
The carrier for the shipping. Optional. See shipments[].carrier for a list of
acceptable values.
Corresponds to the JSON property carrier
      852 853 854  | 
    
      # File 'generated/google/apis/content_v2sandbox/classes.rb', line 852 def carrier @carrier end  | 
  
#max_days_in_transit ⇒ Fixnum
Maximum transit time.
Corresponds to the JSON property maxDaysInTransit
      857 858 859  | 
    
      # File 'generated/google/apis/content_v2sandbox/classes.rb', line 857 def max_days_in_transit @max_days_in_transit end  | 
  
#method_name ⇒ String
The name of the shipping method.
Corresponds to the JSON property methodName
      862 863 864  | 
    
      # File 'generated/google/apis/content_v2sandbox/classes.rb', line 862 def method_name @method_name end  | 
  
#min_days_in_transit ⇒ Fixnum
Minimum transit time.
Corresponds to the JSON property minDaysInTransit
      867 868 869  | 
    
      # File 'generated/google/apis/content_v2sandbox/classes.rb', line 867 def min_days_in_transit @min_days_in_transit end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      874 875 876 877 878 879  | 
    
      # File 'generated/google/apis/content_v2sandbox/classes.rb', line 874 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  |