Reference documentation and code samples for the Google Shopping Merchant Accounts V1beta Client class StoreConfig.
A list of stores your products are delivered from.
This is only valid for the local delivery shipment type.
Generated from protobuf message google.shopping.merchant.accounts.v1beta.Service.StoreConfig
Namespace
Google \ Shopping \ Merchant \ Accounts \ V1beta \ ServiceMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ store_service_type |
int
Indicates whether all stores, or selected stores, listed by this merchant provide local delivery. |
↳ store_codes |
array
Optional. A list of store codes that provide local delivery. If empty, then |
↳ cutoff_config |
Google\Shopping\Merchant\Accounts\V1beta\Service\StoreConfig\CutoffConfig
Configs related to local delivery ends for the day. |
↳ service_radius |
Google\Shopping\Merchant\Accounts\V1beta\Distance
Maximum delivery radius. This is only required for the local delivery shipment type. |
getStoreServiceType
Indicates whether all stores, or selected stores, listed by this merchant provide local delivery.
Returns | |
---|---|
Type | Description |
int |
hasStoreServiceType
clearStoreServiceType
setStoreServiceType
Indicates whether all stores, or selected stores, listed by this merchant provide local delivery.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getStoreCodes
Optional. A list of store codes that provide local delivery.
If empty, then all_stores
must be true.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setStoreCodes
Optional. A list of store codes that provide local delivery.
If empty, then all_stores
must be true.
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |
getCutoffConfig
Configs related to local delivery ends for the day.
Returns | |
---|---|
Type | Description |
Google\Shopping\Merchant\Accounts\V1beta\Service\StoreConfig\CutoffConfig|null |
hasCutoffConfig
clearCutoffConfig
setCutoffConfig
Configs related to local delivery ends for the day.
Parameter | |
---|---|
Name | Description |
var |
Google\Shopping\Merchant\Accounts\V1beta\Service\StoreConfig\CutoffConfig
|
Returns | |
---|---|
Type | Description |
$this |
getServiceRadius
Maximum delivery radius.
This is only required for the local delivery shipment type.
Returns | |
---|---|
Type | Description |
Google\Shopping\Merchant\Accounts\V1beta\Distance|null |
hasServiceRadius
clearServiceRadius
setServiceRadius
Maximum delivery radius.
This is only required for the local delivery shipment type.
Parameter | |
---|---|
Name | Description |
var |
Google\Shopping\Merchant\Accounts\V1beta\Distance
|
Returns | |
---|---|
Type | Description |
$this |