Google Shopping Merchant Accounts V1beta Client - Class TransitTimeValue (0.3.1)

Reference documentation and code samples for the Google Shopping Merchant Accounts V1beta Client class TransitTimeValue.

Transit time range (min-max) in business days.

Generated from protobuf message google.shopping.merchant.accounts.v1beta.TransitTable.TransitTimeRow.TransitTimeValue

Namespace

Google \ Shopping \ Merchant \ Accounts \ V1beta \ TransitTable \ TransitTimeRow

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ min_transit_days int

Minimum transit time range in business days. 0 means same day delivery, 1 means next day delivery.

↳ max_transit_days int

Must be greater than or equal to min_transit_days.

getMinTransitDays

Minimum transit time range in business days. 0 means same day delivery, 1 means next day delivery.

Returns
Type Description
int

hasMinTransitDays

clearMinTransitDays

setMinTransitDays

Minimum transit time range in business days. 0 means same day delivery, 1 means next day delivery.

Parameter
Name Description
var int
Returns
Type Description
$this

getMaxTransitDays

Must be greater than or equal to min_transit_days.

Returns
Type Description
int

hasMaxTransitDays

clearMaxTransitDays

setMaxTransitDays

Must be greater than or equal to min_transit_days.

Parameter
Name Description
var int
Returns
Type Description
$this