GetAccountSubscriptionResult

data class GetAccountSubscriptionResult(val accountId: String, val currency: String, val currentPeriodEnd: String, val currentPeriodStart: String, val frequency: String, val id: String, val price: Double, val ratePlan: GetAccountSubscriptionRatePlan, val state: String)

A collection of values returned by getAccountSubscription.

Constructors

Link copied to clipboard
constructor(accountId: String, currency: String, currentPeriodEnd: String, currentPeriodStart: String, frequency: String, id: String, price: Double, ratePlan: GetAccountSubscriptionRatePlan, state: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Identifier

Link copied to clipboard

The monetary unit in which pricing information is displayed.

Link copied to clipboard

The end of the current period and also when the next billing is due.

Link copied to clipboard

When the current billing period started. May match initialperiodstart if this is the first period.

Link copied to clipboard

How often the subscription is renewed automatically. Available values: "weekly", "monthly", "quarterly", "yearly".

Link copied to clipboard
val id: String

Subscription identifier tag.

Link copied to clipboard

The price of the subscription that will be billed, in US dollars.

Link copied to clipboard

The rate plan applied to the subscription.

Link copied to clipboard

The state that the subscription is in. Available values: "Trial", "Provisioned", "Paid", "AwaitingPayment", "Cancelled", "Failed", "Expired".