Reference documentation and code samples for the Google Shopping Merchant Products V1 Client class FreeShippingThreshold.
Conditions to be met for a product to have free shipping.
Generated from protobuf message google.shopping.merchant.products.v1.FreeShippingThreshold
Namespace
Google \ Shopping \ Merchant \ Products \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description | 
| data | arrayOptional. Data for populating the Message object. | 
| ↳ country | stringThe CLDR territory code of the country to which an item will ship. | 
| ↳ price_threshold | Google\Shopping\Type\PriceThe minimum product price for the shipping cost to become free. Represented as a number. | 
getCountry
The CLDR territory code of the country to which an item will ship.
| Returns | |
|---|---|
| Type | Description | 
| string | |
hasCountry
clearCountry
setCountry
The CLDR territory code of the country to which an item will ship.
| Parameter | |
|---|---|
| Name | Description | 
| var | string | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
getPriceThreshold
The minimum product price for the shipping cost to become free. Represented as a number.
| Returns | |
|---|---|
| Type | Description | 
| Google\Shopping\Type\Price|null | |
hasPriceThreshold
clearPriceThreshold
setPriceThreshold
The minimum product price for the shipping cost to become free. Represented as a number.
| Parameter | |
|---|---|
| Name | Description | 
| var | Google\Shopping\Type\Price | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |