state property

String? state
getter/setter pair

The current state of this offer.

This field cannot be changed by updating the resource. Use the dedicated endpoints instead.

Output only. Possible string values are:

  • "STATE_UNSPECIFIED" : Default value, should never be used.
  • "DRAFT" : The offer is not and has never been available to users.
  • "ACTIVE" : The offer is available to users, as long as its conditions are met.
  • "CANCELLED" : This state is specific to pre-orders. The offer is cancelled and not available to users. All pending orders related to this offer were cancelled.
  • "INACTIVE" : This state is specific to discounted offers. The offer is no longer available to users.

Implementation

core.String? state;