Enum PromotionalOrderType (3.59.0)

public enum PromotionalOrderType extends Enum<PromotionalOrderType> implements ProtocolMessageEnum

Constraints type for Promotional offers.

Protobuf enum google.cloud.channel.v1.PromotionalOrderType

Implements

ProtocolMessageEnum

Static Fields

Name Description
NEW_UPGRADE

Order used for new customers, trial conversions and upgrades.

NEW_UPGRADE = 1;

NEW_UPGRADE_VALUE

Order used for new customers, trial conversions and upgrades.

NEW_UPGRADE = 1;

PROMOTIONAL_TYPE_UNSPECIFIED

Not used.

PROMOTIONAL_TYPE_UNSPECIFIED = 0;

PROMOTIONAL_TYPE_UNSPECIFIED_VALUE

Not used.

PROMOTIONAL_TYPE_UNSPECIFIED = 0;

PROMOTION_SWITCH

Orders for modifying an existing customer's promotion on the same SKU.

PROMOTION_SWITCH = 3;

PROMOTION_SWITCH_VALUE

Orders for modifying an existing customer's promotion on the same SKU.

PROMOTION_SWITCH = 3;

TRANSFER

All orders for transferring an existing customer.

TRANSFER = 2;

TRANSFER_VALUE

All orders for transferring an existing customer.

TRANSFER = 2;

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