Reference documentation and code samples for the Google Shopping Merchant Accounts V1 Client class Distance.
Maximum delivery radius.
This is only required for the local delivery shipment type.
Generated from protobuf message google.shopping.merchant.accounts.v1.Distance
Namespace
Google \ Shopping \ Merchant \ Accounts \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ value
int|string
Integer value of distance.
↳ unit
int
Unit can differ based on country, it is parameterized to include miles and kilometers.
getValue
Integer value of distance.
int|string
hasValue
clearValue
setValue
Integer value of distance.
var
int|string
$this
getUnit
Unit can differ based on country, it is parameterized to include miles and kilometers.
int
hasUnit
clearUnit
setUnit
Unit can differ based on country, it is parameterized to include miles and kilometers.
var
int
$this