Google Cloud Commerce Producer V1beta Client - Class State (0.2.0)

Reference documentation and code samples for the Google Cloud Commerce Producer V1beta Client class State.

State of an offer.

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

Namespace

Google \ Cloud \ CommerceProducer \ V1beta \ PrivateOffer

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

STATE_UNSPECIFIED

Value: 0

Default value. This value is unused.

Generated from protobuf enum STATE_UNSPECIFIED = 0;

DRAFT

Value: 1

The default state after creation when the offer can be edited.

In all other states, the contents of the offer cannot be edited.

Generated from protobuf enum DRAFT = 1;

PUBLISHING

Value: 2

The offer is publishing.

Publishing will complete when all publishing requirements are satisfied.

Generated from protobuf enum PUBLISHING = 2;

PUBLISHED

Value: 3

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

Generated from protobuf enum PUBLISHED = 3;

ACCEPTED

Value: 4

The offer has been accepted by the customer.

Generated from protobuf enum ACCEPTED = 4;

CANCELLED

Value: 5

The offer was cancelled by the provider before it was transacted.

Cancelled offers can no longer be accepted by the customer.

Generated from protobuf enum CANCELLED = 5;

EXPIRED

Value: 6

The offer expired without being accepted by the customer.

Expired offers can no longer be accepted by the customer.

Generated from protobuf enum EXPIRED = 6;

ENDED

Value: 7

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.

Generated from protobuf enum ENDED = 7;