Backend BillingSubscriptionItem object
The BillingSubscriptionItem object is similar to the BillingSubscriptionItemResource object as it holds information about a subscription item, as well as methods for managing it. However, the BillingSubscriptionItem object is different in that it is used in the Backend API and is not directly accessible from the Frontend API.
Properties
- Name
-
amount - Type
undefined | BillingMoneyAmount- Description
The current amount for the Subscription Item.
- Name
-
lifetimePaid? - Type
- BillingMoneyAmount
- Description
The lifetime amount paid for this Subscription Item.
- Name
-
nextPayment - Type
undefined | null | { amount: BillingMoneyAmount; date: number; perUnitTotals?: BillingPerUnitTotal[]; totals?: BillingTotals; }- Description
Information about the next scheduled payment for this Subscription Item.
- 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
-
plan - Type
null | BillingPlan- Description
The Plan associated with this Subscription Item.
- Name
-
seats? - Type
- BillingSubscriptionItemSeats
- Description
Seat entitlement details for organization subscription items with seat-based billing.
- Name
-
status - Type
BillingSubscriptionItemStatus- Description
The status of the Subscription Item.
Feedback
Last updated on