Class: Google::Apis::ContentV2::OrderMerchantProvidedAnnotation
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2::OrderMerchantProvidedAnnotation
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/content_v2/classes.rb,
generated/google/apis/content_v2/representations.rb,
generated/google/apis/content_v2/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.
Constructor Details
#initialize(**args) ⇒ OrderMerchantProvidedAnnotation
Returns a new instance of OrderMerchantProvidedAnnotation.
5067 5068 5069 |
# File 'generated/google/apis/content_v2/classes.rb', line 5067 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
5059 5060 5061 |
# File 'generated/google/apis/content_v2/classes.rb', line 5059 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
5065 5066 5067 |
# File 'generated/google/apis/content_v2/classes.rb', line 5065 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5072 5073 5074 5075 |
# File 'generated/google/apis/content_v2/classes.rb', line 5072 def update!(**args) @key = args[:key] if args.key?(:key) @value = args[:value] if args.key?(:value) end |