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 \ PrivateOfferMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
STATE_UNSPECIFIED
Value: 0Default value. This value is unused.
Generated from protobuf enum STATE_UNSPECIFIED = 0;
DRAFT
Value: 1The 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: 2The offer is publishing.
Publishing will complete when all publishing requirements are satisfied.
Generated from protobuf enum PUBLISHING = 2;
PUBLISHED
Value: 3The offer has been published and is available to the customer to accept.
Generated from protobuf enum PUBLISHED = 3;
ACCEPTED
Value: 4The offer has been accepted by the customer.
Generated from protobuf enum ACCEPTED = 4;
CANCELLED
Value: 5The 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: 6The 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: 7The 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;