Reference documentation and code samples for the Google Shopping Merchant Products V1 Client class ProductMinimumOrderValue.
The minimum order value in the cart before the checkout is permitted.
Generated from protobuf message google.shopping.merchant.products.v1.ProductMinimumOrderValue
Namespace
Google \ Shopping \ Merchant \ Products \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ country |
string
Required. The CLDR territory code of the country to which an item will ship. |
↳ service |
string
A free-form description of the service class or delivery speed. This should match the service value set for the Shipping attribute. See service. |
↳ surface |
int
The surface to which the minimum order value applies. Defaults to |
↳ price |
Google\Shopping\Type\Price
Required. The minimum cart or basket value before the checkout is permitted. |
getCountry
Required. The CLDR territory code of the country to which an item will ship.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasCountry
clearCountry
setCountry
Required. The CLDR territory code of the country to which an item will ship.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getService
A free-form description of the service class or delivery speed.
This should match the service value set for the Shipping attribute. See service.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasService
clearService
setService
A free-form description of the service class or delivery speed.
This should match the service value set for the Shipping attribute. See service.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSurface
The surface to which the minimum order value applies.
Defaults to ONLINE_LOCAL if not configured.
| Returns | |
|---|---|
| Type | Description |
int |
|
hasSurface
clearSurface
setSurface
The surface to which the minimum order value applies.
Defaults to ONLINE_LOCAL if not configured.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPrice
Required. The minimum cart or basket value before the checkout is permitted.
| Returns | |
|---|---|
| Type | Description |
Google\Shopping\Type\Price|null |
|
hasPrice
clearPrice
setPrice
Required. The minimum cart or basket value before the checkout is permitted.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Shopping\Type\Price
|
| Returns | |
|---|---|
| Type | Description |
$this |
|