Google Shopping Merchant Accounts V1 Client - Class StoreConfig (1.0.0)

Reference documentation and code samples for the Google Shopping Merchant Accounts V1 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.v1.Service.StoreConfig

Namespace

Google \ Shopping \ Merchant \ Accounts \ V1 \ 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 business 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\V1\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 business provide local delivery.

Returns
Type
Description
int

hasStoreServiceType

clearStoreServiceType

setStoreServiceType

Indicates whether all stores, or selected stores, listed by this business 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

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

hasCutoffConfig

clearCutoffConfig

setCutoffConfig

Configs related to local delivery ends for the day.

Parameter
Name
Description
Returns
Type
Description
$this

getServiceRadius

Maximum delivery radius.

This is only required for the local delivery shipment type.

Returns
Type
Description

hasServiceRadius

clearServiceRadius

setServiceRadius

Maximum delivery radius.

This is only required for the local delivery shipment type.

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: