Class: Google::Apis::ContentV2::MinimumOrderValueTableStoreCodeSetWithMov

Inherits:
Object
  • Object
show all
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

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MinimumOrderValueTableStoreCodeSetWithMov

Returns a new instance of MinimumOrderValueTableStoreCodeSetWithMov.



4129
4130
4131
# File 'generated/google/apis/content_v2/classes.rb', line 4129

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#store_codesArray<String>

A list of unique store codes or empty for the catch all. Corresponds to the JSON property storeCodes

Returns:

  • (Array<String>)


4122
4123
4124
# File 'generated/google/apis/content_v2/classes.rb', line 4122

def store_codes
  @store_codes
end

#valueGoogle::Apis::ContentV2::Price

The minimum order value for the given stores. Corresponds to the JSON property value



4127
4128
4129
# File 'generated/google/apis/content_v2/classes.rb', line 4127

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4134
4135
4136
4137
# File 'generated/google/apis/content_v2/classes.rb', line 4134

def update!(**args)
  @store_codes = args[:store_codes] if args.key?(:store_codes)
  @value = args[:value] if args.key?(:value)
end