Reference documentation and code samples for the Google Shopping Merchant Accounts V1 Client class TransitTimeValue.
Transit time range (min-max) in business days.
Generated from protobuf message google.shopping.merchant.accounts.v1.TransitTable.TransitTimeRow.TransitTimeValue
Namespace
Google \ Shopping \ Merchant \ Accounts \ V1 \ TransitTable \ TransitTimeRowMethods
__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 |
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 |
|