Represents a subscription on a business.

Properties

id The id of the subscription.
startsOn The date the subscription starts.
This field may be null when there is no value or not applicable.
endsOn The date that the subscription would end. When the subscription is being renewed if it is after the endsOn time it will be marked as EXPIRED and will not renew (no invoice will generate).
This field may be null when there is no value or not applicable.
nextRenewal The date the subscription will next renew.
This field may be null when there is no value or not applicable.
lastRenewal The date the subscription last rewewed.
This field may be null when there is no value or not applicable.
state The state of the subscription [ACTIVE, EXPIRED, PAST_DUE].