Reference documentation and code samples for the Google Shopping Merchant Products V1 Client class DurationUnit.
The unit of duration.
Protobuf type google.shopping.merchant.products.v1.ProductAttributes.LeaseTerm.DurationUnit
Namespace
Google \ Shopping \ Merchant \ Products \ V1 \ ProductAttributes \ LeaseTermMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
DURATION_UNIT_UNSPECIFIED
Value: 0Unspecified duration unit.
Generated from protobuf enum DURATION_UNIT_UNSPECIFIED = 0;
MONTHS
Value: 1Month.
Generated from protobuf enum MONTHS = 1;
WEEKS
Value: 2Week.
Generated from protobuf enum WEEKS = 2;