state property

String? state
getter/setter pair

Describes the state of the subscription.

See more details at [the lifecycle of a subscription](/payments/reseller/subscription/reference/index/Receive.Notifications#payments-subscription-lifecycle).

Output only. Possible string values are:

  • "STATE_UNSPECIFIED" : The state is unspecified.
  • "STATE_CREATED" : The subscription is created, a state before it is moved to STATE_ACTIVE.
  • "STATE_ACTIVE" : The subscription is active.
  • "STATE_CANCELLED" : The subscription is cancelled. This is the final state of the subscription, as it can no longer be modified or reactivated.
  • "STATE_IN_GRACE_PERIOD" : The subscription is in grace period. It can happen: 1) in manual extend mode, the subscription is not extended by the partner at the end of current cycle. 2) for outbound authorization enabled partners, a renewal purchase order is rejected.
  • "STATE_CANCEL_AT_END_OF_CYCLE" : The subscription is waiting to be cancelled by the next recurrence cycle.
  • "STATE_SUSPENDED" : The subscription is suspended.

Implementation

core.String? state;