Reference documentation and code samples for the Google Shopping Merchant Lfp V1beta Client class CountrySettings.
Country-specific settings for the merchant.
Generated from protobuf message google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings
Namespace
Google \ Shopping \ Merchant \ Lfp \ V1beta \ LfpMerchantStateMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ region_code |
string
Required. The CLDR territory code 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 for the country for which these settings are defined.
| Returns | |
|---|---|
| Type | Description |
string |
|
setRegionCode
Required. The CLDR territory code 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. |
setInventoryVerificationState
Output only. The verification state of this merchant's inventory check.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type VerificationState. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getProductPageType
Output only. The product page type selected by this merchant.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type ProductPageType. |
setProductPageType
Output only. The product page type selected by this merchant.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type 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. |
setInstockServingVerificationState
Output only. The verification state of this merchant's instock serving feature.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type 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. |
setPickupServingVerificationState
Output only. The verification state of this merchant's pickup serving feature.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type VerificationState. |
| Returns | |
|---|---|
| Type | Description |
$this |
|