public enum OfferType extends Enum<OfferType> implements ProtocolMessageEnum
Offer type of a promotion.
Protobuf enum google.shopping.merchant.promotions.v1beta.OfferType
Implements
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
GENERIC_CODE |
Offer type with a code. Generic redemption code for the promotion is
required when |
GENERIC_CODE_VALUE |
Offer type with a code. Generic redemption code for the promotion is
required when |
NO_CODE |
Offer type without a code. |
NO_CODE_VALUE |
Offer type without a code. |
OFFER_TYPE_UNSPECIFIED |
Unknown offer type. |
OFFER_TYPE_UNSPECIFIED_VALUE |
Unknown offer type. |
UNRECOGNIZED |
Static Methods |
|
---|---|
Name | Description |
forNumber(int value) |
|
getDescriptor() |
|
internalGetValueMap() |
|
valueOf(Descriptors.EnumValueDescriptor desc) |
|
valueOf(int value) |
Deprecated. Use #forNumber(int) instead. |
valueOf(String name) |
|
values() |
Methods |
|
---|---|
Name | Description |
getDescriptorForType() |
|
getNumber() |
|
getValueDescriptor() |