Reference documentation and code samples for the Google Shopping Merchant Products V1beta Client class Shipping.
The Shipping of the product.
Generated from protobuf message google.shopping.merchant.products.v1beta.Shipping
Namespace
Google \ Shopping \ Merchant \ Products \ V1betaMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ price
↳ country
↳ region
↳ service
string
A free-form description of the service class or delivery speed.
↳ location_id
int|string
The numeric ID of a location that the shipping rate applies to as defined in the AdWords API .
↳ location_group_name
string
The location where the shipping is applicable, represented by a location group name.
↳ postal_code
string
The postal code range that the shipping rate applies to, represented by a postal code, a postal code prefix followed by a * wildcard, a range between two postal codes or two postal code prefixes of equal length.
↳ min_handling_time
int|string
Minimum handling time (inclusive) between when the order is received and shipped in business days. 0 means that the order is shipped on the same day as it is received if it happens before the cut-off time. minHandlingTime can only be present together with maxHandlingTime ; but it is not required if maxHandlingTime is present.
↳ max_handling_time
int|string
Maximum handling time (inclusive) between when the order is received and shipped in business days. 0 means that the order is shipped on the same day as it is received if it happens before the cut-off time. Both maxHandlingTime and maxTransitTime are required if providing shipping speeds. minHandlingTime is optional if maxHandlingTime is present.
↳ min_transit_time
int|string
Minimum transit time (inclusive) between when the order has shipped and when it is delivered in business days. 0 means that the order is delivered on the same day as it ships. minTransitTime can only be present together with maxTransitTime ; but it is not required if maxTransitTime is present.
↳ max_transit_time
int|string
Maximum transit time (inclusive) between when the order has shipped and when it is delivered in business days. 0 means that the order is delivered on the same day as it ships. Both maxHandlingTime and maxTransitTime are required if providing shipping speeds. minTransitTime is optional if maxTransitTime is present.
getPrice
Fixed shipping price, represented as a number.
hasPrice
clearPrice
setPrice
Fixed shipping price, represented as a number.
$this
getCountry
The CLDR territory code of the country to which an item will ship.
string
setCountry
The CLDR territory code of the country to which an item will ship.
var
string
$this
getRegion
The geographic region to which a shipping rate applies.
See region for more information.
string
setRegion
The geographic region to which a shipping rate applies.
See region for more information.
var
string
$this
getService
A free-form description of the service class or delivery speed.
string
setService
A free-form description of the service class or delivery speed.
var
string
$this
getLocationId
The numeric ID of a location that the shipping rate applies to as defined in the AdWords API .
int|string
setLocationId
The numeric ID of a location that the shipping rate applies to as defined in the AdWords API .
var
int|string
$this
getLocationGroupName
The location where the shipping is applicable, represented by a location group name.
string
setLocationGroupName
The location where the shipping is applicable, represented by a location group name.
var
string
$this
getPostalCode
The postal code range that the shipping rate applies to, represented by a postal code, a postal code prefix followed by a * wildcard, a range between two postal codes or two postal code prefixes of equal length.
string
setPostalCode
The postal code range that the shipping rate applies to, represented by a postal code, a postal code prefix followed by a * wildcard, a range between two postal codes or two postal code prefixes of equal length.
var
string
$this
getMinHandlingTime
Minimum handling time (inclusive) between when the order is received and shipped in business days. 0 means that the order is shipped on the same day as it is received if it happens before the cut-off time.
minHandlingTime can only be present together with maxHandlingTime ; but it is not required if maxHandlingTime is present.
int|string
hasMinHandlingTime
clearMinHandlingTime
setMinHandlingTime
Minimum handling time (inclusive) between when the order is received and shipped in business days. 0 means that the order is shipped on the same day as it is received if it happens before the cut-off time.
minHandlingTime can only be present together with maxHandlingTime ; but it is not required if maxHandlingTime is present.
var
int|string
$this
getMaxHandlingTime
Maximum handling time (inclusive) between when the order is received and shipped in business days. 0 means that the order is shipped on the same day as it is received if it happens before the cut-off time. Both maxHandlingTime and maxTransitTime are required if providing shipping speeds.
minHandlingTime is optional if maxHandlingTime is present.
int|string
hasMaxHandlingTime
clearMaxHandlingTime
setMaxHandlingTime
Maximum handling time (inclusive) between when the order is received and shipped in business days. 0 means that the order is shipped on the same day as it is received if it happens before the cut-off time. Both maxHandlingTime and maxTransitTime are required if providing shipping speeds.
minHandlingTime is optional if maxHandlingTime is present.
var
int|string
$this
getMinTransitTime
Minimum transit time (inclusive) between when the order has shipped and when it is delivered in business days. 0 means that the order is delivered on the same day as it ships.
minTransitTime can only be present together with maxTransitTime ; but it is not required if maxTransitTime is present.
int|string
hasMinTransitTime
clearMinTransitTime
setMinTransitTime
Minimum transit time (inclusive) between when the order has shipped and when it is delivered in business days. 0 means that the order is delivered on the same day as it ships.
minTransitTime can only be present together with maxTransitTime ; but it is not required if maxTransitTime is present.
var
int|string
$this
getMaxTransitTime
Maximum transit time (inclusive) between when the order has shipped and when it is delivered in business days. 0 means that the order is delivered on the same day as it ships. Both maxHandlingTime and maxTransitTime are required if providing shipping speeds.
minTransitTime is optional if maxTransitTime is present.
int|string
hasMaxTransitTime
clearMaxTransitTime
setMaxTransitTime
Maximum transit time (inclusive) between when the order has shipped and when it is delivered in business days. 0 means that the order is delivered on the same day as it ships. Both maxHandlingTime and maxTransitTime are required if providing shipping speeds.
minTransitTime is optional if maxTransitTime is present.
var
int|string
$this