# Google Shopping Merchant Accounts V1 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 Reference documentation and code samples for the Google Shopping Merchant Accounts V1 Client class OmnichannelSetting.

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

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

## Namespace

Google \\ Shopping \\ Merchant \\ Accounts \\ V1

## 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/V1.InStock` Optional. The InStock URI and state for this country. |
| `↳ pickup` | `https://docs.cloud.google.com/php/docs/reference/shopping-merchant-accounts/latest/V1.Pickup` Optional. The Pickup URI and state for this country. |
| `↳ lfp_link` | `https://docs.cloud.google.com/php/docs/reference/shopping-merchant-accounts/latest/V1.LfpLink` Output only. The established link to a LFP provider. |
| `↳ odo` | `https://docs.cloud.google.com/php/docs/reference/shopping-merchant-accounts/latest/V1.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/V1.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/V1.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/V1.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/V1.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/V1.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/V1.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/V1.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/V1.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/V1.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/V1.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/V1.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/V1.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/V1.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/V1.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/V1.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/V1.InventoryVerification` |

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