A subscription has a
state attribute that describes the current status of the subscription. The
state of a Subscription is enumerated by the following values:
Activating a subscription changes the
Cancelling a subscription changes the
Converting a trial subscription changes the
PendingRenewal is an intermediate state when a subscription is getting renewed.
The following diagram shows the subscription states.