Enum PrivateOffer.State (0.1.0)

public enum PrivateOffer.State extends Enum<PrivateOffer.State> implements ProtocolMessageEnum

State of an offer.

Protobuf enum google.cloud.commerceproducer.v1beta.PrivateOffer.State

Implements

ProtocolMessageEnum

Static Fields

Name Description
ACCEPTED

The offer has been accepted by the customer.

ACCEPTED = 4;

ACCEPTED_VALUE

The offer has been accepted by the customer.

ACCEPTED = 4;

CANCELLED

The offer was cancelled by the provider before it was transacted. Cancelled offers can no longer be accepted by the customer.

CANCELLED = 5;

CANCELLED_VALUE

The offer was cancelled by the provider before it was transacted. Cancelled offers can no longer be accepted by the customer.

CANCELLED = 5;

DRAFT

The default state after creation when the offer can be edited. In all other states, the contents of the offer cannot be edited.

DRAFT = 1;

DRAFT_VALUE

The default state after creation when the offer can be edited. In all other states, the contents of the offer cannot be edited.

DRAFT = 1;

ENDED

The offer has ended.

Ended offers were accepted and active in the past, but have now reached the end of their term or have been terminated.

ENDED = 7;

ENDED_VALUE

The offer has ended.

Ended offers were accepted and active in the past, but have now reached the end of their term or have been terminated.

ENDED = 7;

EXPIRED

The offer expired without being accepted by the customer. Expired offers can no longer be accepted by the customer.

EXPIRED = 6;

EXPIRED_VALUE

The offer expired without being accepted by the customer. Expired offers can no longer be accepted by the customer.

EXPIRED = 6;

PUBLISHED

The offer has been published and is available to the customer to accept.

PUBLISHED = 3;

PUBLISHED_VALUE

The offer has been published and is available to the customer to accept.

PUBLISHED = 3;

PUBLISHING

The offer is publishing. Publishing will complete when all publishing requirements are satisfied.

PUBLISHING = 2;

PUBLISHING_VALUE

The offer is publishing. Publishing will complete when all publishing requirements are satisfied.

PUBLISHING = 2;

STATE_UNSPECIFIED

Default value. This value is unused.

STATE_UNSPECIFIED = 0;

STATE_UNSPECIFIED_VALUE

Default value. This value is unused.

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