Class: Google::Apis::ContentV2_1::MinimumOrderValueTableStoreCodeSetWithMov
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::MinimumOrderValueTableStoreCodeSetWithMov
- Defined in:
- generated/google/apis/content_v2_1/classes.rb,
generated/google/apis/content_v2_1/representations.rb,
generated/google/apis/content_v2_1/representations.rb
Overview
A list of store code sets sharing the same minimum order value. At least two sets are required and the last one must be empty, which signifies 'MOV for all other stores'. Each store code can only appear once across all the sets. All prices within a service must have the same currency.
Instance Attribute Summary collapse
-
#store_codes ⇒ Array<String>
A list of unique store codes or empty for the catch all.
-
#value ⇒ Google::Apis::ContentV2_1::Price
The minimum order value for the given stores.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MinimumOrderValueTableStoreCodeSetWithMov
constructor
A new instance of MinimumOrderValueTableStoreCodeSetWithMov.
-
#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) ⇒ MinimumOrderValueTableStoreCodeSetWithMov
Returns a new instance of MinimumOrderValueTableStoreCodeSetWithMov.
3963 3964 3965 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 3963 def initialize(**args) update!(**args) end |
Instance Attribute Details
#store_codes ⇒ Array<String>
A list of unique store codes or empty for the catch all.
Corresponds to the JSON property storeCodes
3956 3957 3958 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 3956 def store_codes @store_codes end |
#value ⇒ Google::Apis::ContentV2_1::Price
The minimum order value for the given stores.
Corresponds to the JSON property value
3961 3962 3963 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 3961 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3968 3969 3970 3971 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 3968 def update!(**args) @store_codes = args[:store_codes] if args.key?(:store_codes) @value = args[:value] if args.key?(:value) end |