Backend BillingSubscription object
The BillingSubscription object is similar to the BillingSubscriptionResource object as it holds information about a subscription, as well as methods for managing it. However, the BillingSubscription object is different in that it is used in the Backend API and is not directly accessible from the Frontend API.
Properties
- Name
-
nextPayment - Type
null | { amount: BillingMoneyAmount; date: number; perUnitTotals?: BillingPerUnitTotal[]; totals?: BillingTotals; }- Description
Information about the next scheduled payment for this Subscription.
- Name
nextPayment.amount- Type
- BillingMoneyAmount
- Description
The amount of the next payment.
- Name
nextPayment.date- Type
number- Description
The Unix timestamp (milliseconds) of when the next payment is scheduled.
- Name
nextPayment.perUnitTotals?- Type
BillingPerUnitTotal[]- Description
The per-unit cost breakdown for the next payment.
- Name
nextPayment.totals?- Type
- BillingTotals
- Description
The full cost breakdown for the next payment.
- Name
-
subscriptionItems - Type
BillingSubscriptionItem[]- Description
All of the Subscription Items in this Subscription.
Feedback
Last updated on