Reference documentation and code samples for the Google Shopping Merchant Products V1 Client class WarrantyDurationUnit.
The warranty duration unit of the product.
Protobuf type google.shopping.merchant.products.v1.ProductAttributes.Warranty.WarrantyDurationUnit
Namespace
Google \ Shopping \ Merchant \ Products \ V1 \ ProductAttributes \ WarrantyMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
WARRANTY_DURATION_UNIT_UNSPECIFIED
Value: 0Indicates that the warranty duration unit is unspecified.
Generated from protobuf enum WARRANTY_DURATION_UNIT_UNSPECIFIED = 0;
MONTH
Value: 1Indicates that the warranty duration unit is month.
Generated from protobuf enum MONTH = 1;
YEAR
Value: 2Indicates that the warranty duration unit is year.
Generated from protobuf enum YEAR = 2;