# Google Shopping Merchant Lfp V1 Client - Class CountrySettings (1.2.1)

1.2.1 (latest) 1.2.0 1.1.3 1.0.0 0.4.0 0.3.2 0.2.0 0.1.3 Reference documentation and code samples for the Google Shopping Merchant Lfp V1 Client class CountrySettings.

Country-specific settings for the merchant.

Generated from protobuf message `google.shopping.merchant.lfp.v1.LfpMerchantState.CountrySettings`

## Namespace

Google \\ Shopping \\ Merchant \\ Lfp \\ V1 \\ LfpMerchantState

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ region_code` | `string` Required. The [CLDR territory code](https://github.com/unicode-org/cldr/blob/latest/common/main/en.xml) for the country for which these settings are defined. |
| `↳ free_local_listings_enabled` | `bool` True if this merchant has enabled free local listings in MC. |
| `↳ local_inventory_ads_enabled` | `bool` True if this merchant has enabled local inventory ads in MC. |
| `↳ inventory_verification_state` | `int` Output only. The verification state of this merchant's inventory check. |
| `↳ product_page_type` | `int` Output only. The product page type selected by this merchant. |
| `↳ instock_serving_verification_state` | `int` Output only. The verification state of this merchant's instock serving feature. |
| `↳ pickup_serving_verification_state` | `int` Output only. The verification state of this merchant's pickup serving feature. |

### getRegionCode

Required. The [CLDR territory
code](https://github.com/unicode-org/cldr/blob/latest/common/main/en.xml)
for the country for which these settings are defined.

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

### setRegionCode

Required. The [CLDR territory
code](https://github.com/unicode-org/cldr/blob/latest/common/main/en.xml)
for the country for which these settings are defined.

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

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

### getFreeLocalListingsEnabled

True if this merchant has enabled free local listings in MC.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setFreeLocalListingsEnabled

True if this merchant has enabled free local listings in MC.

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

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

### getLocalInventoryAdsEnabled

True if this merchant has enabled local inventory ads in MC.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setLocalInventoryAdsEnabled

True if this merchant has enabled local inventory ads in MC.

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

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

### getInventoryVerificationState

Output only. The verification state of this merchant's inventory check.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [VerificationState](https://docs.cloud.google.com/php/docs/reference/shopping-merchant-lfp/latest/V1.LfpMerchantState.CountrySettings.VerificationState). |

### setInventoryVerificationState

Output only. The verification state of this merchant's inventory check.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [VerificationState](https://docs.cloud.google.com/php/docs/reference/shopping-merchant-lfp/latest/V1.LfpMerchantState.CountrySettings.VerificationState). |

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

### getProductPageType

Output only. The product page type selected by this merchant.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [ProductPageType](https://docs.cloud.google.com/php/docs/reference/shopping-merchant-lfp/latest/V1.LfpMerchantState.CountrySettings.ProductPageType). |

### setProductPageType

Output only. The product page type selected by this merchant.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [ProductPageType](https://docs.cloud.google.com/php/docs/reference/shopping-merchant-lfp/latest/V1.LfpMerchantState.CountrySettings.ProductPageType). |

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

### getInstockServingVerificationState

Output only. The verification state of this merchant's instock serving
feature.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [VerificationState](https://docs.cloud.google.com/php/docs/reference/shopping-merchant-lfp/latest/V1.LfpMerchantState.CountrySettings.VerificationState). |

### setInstockServingVerificationState

Output only. The verification state of this merchant's instock serving
feature.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [VerificationState](https://docs.cloud.google.com/php/docs/reference/shopping-merchant-lfp/latest/V1.LfpMerchantState.CountrySettings.VerificationState). |

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

### getPickupServingVerificationState

Output only. The verification state of this merchant's pickup serving
feature.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [VerificationState](https://docs.cloud.google.com/php/docs/reference/shopping-merchant-lfp/latest/V1.LfpMerchantState.CountrySettings.VerificationState). |

### setPickupServingVerificationState

Output only. The verification state of this merchant's pickup serving
feature.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [VerificationState](https://docs.cloud.google.com/php/docs/reference/shopping-merchant-lfp/latest/V1.LfpMerchantState.CountrySettings.VerificationState). |

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