Class: Google::Apis::ContentV2sandbox::OrderMerchantProvidedAnnotation
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ContentV2sandbox::OrderMerchantProvidedAnnotation
 
- 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
- 
  
    
      #key  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Key for additional merchant provided (as key-value pairs) annotation about the line item. 
- 
  
    
      #value  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Value for additional merchant provided (as key-value pairs) annotation about the line item. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ OrderMerchantProvidedAnnotation 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of OrderMerchantProvidedAnnotation. 
- 
  
    
      #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) ⇒ OrderMerchantProvidedAnnotation
Returns a new instance of OrderMerchantProvidedAnnotation
| 788 789 790 | # File 'generated/google/apis/content_v2sandbox/classes.rb', line 788 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#key ⇒ String
Key for additional merchant provided (as key-value pairs) annotation about the
line item.
Corresponds to the JSON property key
| 780 781 782 | # File 'generated/google/apis/content_v2sandbox/classes.rb', line 780 def key @key end | 
#value ⇒ String
Value for additional merchant provided (as key-value pairs) annotation about
the line item.
Corresponds to the JSON property value
| 786 787 788 | # File 'generated/google/apis/content_v2sandbox/classes.rb', line 786 def value @value end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 793 794 795 796 | # File 'generated/google/apis/content_v2sandbox/classes.rb', line 793 def update!(**args) @key = args[:key] if args.key?(:key) @value = args[:value] if args.key?(:value) end |