Google Shopping Merchant Accounts V1beta Client - Class StoreCodeSetWithMov (0.2.0)

Reference documentation and code samples for the Google Shopping Merchant Accounts V1beta Client class StoreCodeSetWithMov.

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.

Generated from protobuf message google.shopping.merchant.accounts.v1beta.MinimumOrderValueTable.StoreCodeSetWithMov

Namespace

Google \ Shopping \ Merchant \ Accounts \ V1beta \ MinimumOrderValueTable

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ store_codes array

Optional. A list of unique store codes or empty for the catch all.

↳ value Google\Shopping\Type\Price

The minimum order value for the given stores.

getStoreCodes

Optional. A list of unique store codes or empty for the catch all.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setStoreCodes

Optional. A list of unique store codes or empty for the catch all.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getValue

The minimum order value for the given stores.

Returns
Type Description
Google\Shopping\Type\Price|null

hasValue

clearValue

setValue

The minimum order value for the given stores.

Parameter
Name Description
var Google\Shopping\Type\Price
Returns
Type Description
$this