Google Shopping Merchant Accounts V1beta Client - Class StoreConfig (0.3.1)

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 \ Service

Methods

__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 all_stores must be true.

↳ cutoff_config 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
StoreConfig\CutoffConfig|null

hasCutoffConfig

clearCutoffConfig

setCutoffConfig

Configs related to local delivery ends for the day.

Parameter
Name Description
var 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