# Google Shopping Merchant Accounts V1beta 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

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

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` | `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/V1beta.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/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** |
| `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/V1beta.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/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** |
| `https://docs.cloud.google.com/php/docs/reference/shopping-merchant-accounts/latest/V1beta.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/V1beta.Distance` |

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