Enum PrivateOffer.Term.StartPolicy (0.1.0)

public enum PrivateOffer.Term.StartPolicy extends Enum<PrivateOffer.Term.StartPolicy> implements ProtocolMessageEnum

Defines when an offer should start.

Protobuf enum google.cloud.commerceproducer.v1beta.PrivateOffer.Term.StartPolicy

Implements

ProtocolMessageEnum

Static Fields

Name Description
IMMEDIATE

The resulting order starts immediately upon the customer's acceptance of the offer, if no partner approval is required, or else immediately after the partner approves the purchase if order approval is required. This enum value cannot be combined with term.scheduled_start_time.

IMMEDIATE = 1;

IMMEDIATE_VALUE

The resulting order starts immediately upon the customer's acceptance of the offer, if no partner approval is required, or else immediately after the partner approves the purchase if order approval is required. This enum value cannot be combined with term.scheduled_start_time.

IMMEDIATE = 1;

SCHEDULED_START_TIME

The resulting order starts at the scheduled start time.

SCHEDULED_START_TIME = 2;

SCHEDULED_START_TIME_VALUE

The resulting order starts at the scheduled start time.

SCHEDULED_START_TIME = 2;

START_POLICY_UNSPECIFIED

Default value. This value is unused.

START_POLICY_UNSPECIFIED = 0;

START_POLICY_UNSPECIFIED_VALUE

Default value. This value is unused.

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