Class: Google::Apis::ContentV2sandbox::OrderLineItemReturnInfo
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ContentV2sandbox::OrderLineItemReturnInfo
 
- 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
- 
  
    
      #days_to_return  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    How many days later the item can be returned. 
- 
  
    
      #is_returnable  ⇒ Boolean 
    
    
      (also: #is_returnable?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    Whether the item is returnable. 
- 
  
    
      #policy_url  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    URL of the item return policy. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ OrderLineItemReturnInfo 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of OrderLineItemReturnInfo. 
- 
  
    
      #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) ⇒ OrderLineItemReturnInfo
Returns a new instance of OrderLineItemReturnInfo
| 691 692 693 | # File 'generated/google/apis/content_v2sandbox/classes.rb', line 691 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#days_to_return ⇒ Fixnum
How many days later the item can be returned.
Corresponds to the JSON property daysToReturn
| 678 679 680 | # File 'generated/google/apis/content_v2sandbox/classes.rb', line 678 def days_to_return @days_to_return end | 
#is_returnable ⇒ Boolean Also known as: is_returnable?
Whether the item is returnable.
Corresponds to the JSON property isReturnable
| 683 684 685 | # File 'generated/google/apis/content_v2sandbox/classes.rb', line 683 def is_returnable @is_returnable end | 
#policy_url ⇒ String
URL of the item return policy.
Corresponds to the JSON property policyUrl
| 689 690 691 | # File 'generated/google/apis/content_v2sandbox/classes.rb', line 689 def policy_url @policy_url end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 696 697 698 699 700 | # File 'generated/google/apis/content_v2sandbox/classes.rb', line 696 def update!(**args) @days_to_return = args[:days_to_return] if args.key?(:days_to_return) @is_returnable = args[:is_returnable] if args.key?(:is_returnable) @policy_url = args[:policy_url] if args.key?(:policy_url) end |