Enum OfferType (0.7.0)

public enum OfferType extends Enum<OfferType> implements ProtocolMessageEnum

Offer type of a promotion.

Protobuf enum google.shopping.merchant.promotions.v1beta.OfferType

Implements

ProtocolMessageEnum

Static Fields

Name Description
GENERIC_CODE

Offer type with a code. Generic redemption code for the promotion is required when offerType = GENERIC_CODE.

GENERIC_CODE = 2;

GENERIC_CODE_VALUE

Offer type with a code. Generic redemption code for the promotion is required when offerType = GENERIC_CODE.

GENERIC_CODE = 2;

NO_CODE

Offer type without a code.

NO_CODE = 1;

NO_CODE_VALUE

Offer type without a code.

NO_CODE = 1;

OFFER_TYPE_UNSPECIFIED

Unknown offer type.

OFFER_TYPE_UNSPECIFIED = 0;

OFFER_TYPE_UNSPECIFIED_VALUE

Unknown offer type.

OFFER_TYPE_UNSPECIFIED = 0;

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()