state property

String? state
getter/setter pair

The state of the purchase option, i.e., whether it's active.

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 purchase option is not and has never been available to users.
  • "ACTIVE" : The purchase option is available to users.
  • "INACTIVE" : The purchase option is not available to users anymore.
  • "INACTIVE_PUBLISHED" : The purchase option is not available for purchase anymore, but we continue to expose its offer via the Play Billing Library for backwards compatibility. Only automatically migrated purchase options can be in this state.

Implementation

core.String? state;