# Google Shopping Merchant Accounts V1 Client - Class StoreConfig (1.4.1)

1.4.1 (latest) 1.4.0 1.3.1 1.2.2 1.1.0 1.0.0 0.10.0 0.9.1 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.3 0.2.0 0.1.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` | `string[]` Optional. A list of store codes that provide local delivery. If empty, then `all_stores` must be true. |
| `↳ cutoff_config` | `https://docs.cloud.google.com/php/docs/reference/shopping-merchant-accounts/latest/V1.Service.StoreConfig.CutoffConfig` Configs related to local delivery ends for the day. |
| `↳ service_radius` | `https://docs.cloud.google.com/php/docs/reference/shopping-merchant-accounts/latest/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** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### 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** |
| `https://docs.cloud.google.com/php/docs/reference/shopping-merchant-accounts/latest/V1.Service.StoreConfig.CutoffConfig|null` |   |

### hasCutoffConfig

### clearCutoffConfig

### setCutoffConfig

Configs related to local delivery ends for the day.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/shopping-merchant-accounts/latest/V1.Service.StoreConfig.CutoffConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getServiceRadius

Maximum delivery radius.

This is only required for the local delivery shipment type.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/shopping-merchant-accounts/latest/V1.Distance|null` |   |

### hasServiceRadius

### clearServiceRadius

### setServiceRadius

Maximum delivery radius.

This is only required for the local delivery shipment type.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/shopping-merchant-accounts/latest/V1.Distance` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |