# Google Shopping Merchant Accounts V1beta Client - Class OmnichannelSetting (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 OmnichannelSetting.

Collection of information related to the omnichannel settings of a merchant.

Generated from protobuf message `google.shopping.merchant.accounts.v1beta.OmnichannelSetting`

## Namespace

Google \\ Shopping \\ Merchant \\ Accounts \\ V1beta

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Identifier. The resource name of the omnichannel setting. Format: `accounts/{account}/omnichannelSettings/{omnichannel_setting}` |
| `↳ region_code` | `string` Required. Immutable. Region code defined by [CLDR](https://cldr.unicode.org/). Must be provided in the Create method, and is immutable. |
| `↳ lsf_type` | `int` Required. The Local Store Front type for this country. |
| `↳ in_stock` | `https://docs.cloud.google.com/php/docs/reference/shopping-merchant-accounts/latest/V1beta.InStock` Optional. The InStock URI and state for this country. |
| `↳ pickup` | `https://docs.cloud.google.com/php/docs/reference/shopping-merchant-accounts/latest/V1beta.Pickup` Optional. The Pickup URI and state for this country. |
| `↳ lfp_link` | `https://docs.cloud.google.com/php/docs/reference/shopping-merchant-accounts/latest/V1beta.LfpLink` Output only. The established link to a LFP provider. |
| `↳ odo` | `https://docs.cloud.google.com/php/docs/reference/shopping-merchant-accounts/latest/V1beta.OnDisplayToOrder` Optional. The On Display to Order (ODO) policy URI and state for this country. |
| `↳ about` | `https://docs.cloud.google.com/php/docs/reference/shopping-merchant-accounts/latest/V1beta.About` Optional. The about page URI and state for this country. |
| `↳ inventory_verification` | `https://docs.cloud.google.com/php/docs/reference/shopping-merchant-accounts/latest/V1beta.InventoryVerification` Optional. The inventory verification contact and state for this country. |

### getName

Identifier. The resource name of the omnichannel setting. Format:
`accounts/{account}/omnichannelSettings/{omnichannel_setting}`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setName

Identifier. The resource name of the omnichannel setting. Format:
`accounts/{account}/omnichannelSettings/{omnichannel_setting}`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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

### getRegionCode

Required. Immutable. Region code defined by
[CLDR](https://cldr.unicode.org/). Must be provided in the Create method,
and is immutable.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setRegionCode

Required. Immutable. Region code defined by
[CLDR](https://cldr.unicode.org/). Must be provided in the Create method,
and is immutable.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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

### getLsfType

Required. The Local Store Front type for this country.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [LsfType](https://docs.cloud.google.com/php/docs/reference/shopping-merchant-accounts/latest/V1beta.OmnichannelSetting.LsfType). |

### setLsfType

Required. The Local Store Front type for this country.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [LsfType](https://docs.cloud.google.com/php/docs/reference/shopping-merchant-accounts/latest/V1beta.OmnichannelSetting.LsfType). |

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

### getInStock

Optional. The InStock URI and state for this country.

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

### hasInStock

### clearInStock

### setInStock

Optional. The InStock URI and state for this country.

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

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

### getPickup

Optional. The Pickup URI and state for this country.

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

### hasPickup

### clearPickup

### setPickup

Optional. The Pickup URI and state for this country.

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

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

### getLfpLink

Output only. The established link to a LFP provider.

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

### hasLfpLink

### clearLfpLink

### setLfpLink

Output only. The established link to a LFP provider.

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

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

### getOdo

Optional. The On Display to Order (ODO) policy URI and state for this
country.

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

### hasOdo

### clearOdo

### setOdo

Optional. The On Display to Order (ODO) policy URI and state for this
country.

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

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

### getAbout

Optional. The about page URI and state for this country.

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

### hasAbout

### clearAbout

### setAbout

Optional. The about page URI and state for this country.

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

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

### getInventoryVerification

Optional. The inventory verification contact and state for this country.

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

### hasInventoryVerification

### clearInventoryVerification

### setInventoryVerification

Optional. The inventory verification contact and state for this country.

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

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