Reference documentation and code samples for the Google Shopping Merchant Promotions V1 Client class OfferType.
Offer type of a promotion.
Protobuf type google.shopping.merchant.promotions.v1.OfferType
Namespace
Google \ Shopping \ Merchant \ Promotions \ V1Methods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
OFFER_TYPE_UNSPECIFIED
Value: 0
Unknown offer type.
Generated from protobuf enum OFFER_TYPE_UNSPECIFIED = 0;
NO_CODE
Value: 1
Offer type without a code.
Generated from protobuf enum NO_CODE = 1;
GENERIC_CODE
Value: 2
Offer type with a code. Generic redemption code for the promotion is
required when offerType
= GENERIC_CODE
.
Generated from protobuf enum GENERIC_CODE = 2;