Skip to main content
Version: 2.x

Interface: BillingSubscriptionState

Defined in: javascript/src/billing/types/subscriptions.ts:44

Properties​

cancelAt?​

optional cancelAt?: string | null

Defined in: javascript/src/billing/types/subscriptions.ts:58


cancelAtPeriodEnd​

cancelAtPeriodEnd: boolean

Defined in: javascript/src/billing/types/subscriptions.ts:63


currentPeriodEnd?​

optional currentPeriodEnd?: string | null

Defined in: javascript/src/billing/types/subscriptions.ts:56


currentPeriodStart?​

optional currentPeriodStart?: string | null

Defined in: javascript/src/billing/types/subscriptions.ts:55


endedAt?​

optional endedAt?: string | null

Defined in: javascript/src/billing/types/subscriptions.ts:59


graceEndsAt?​

optional graceEndsAt?: string | null

Defined in: javascript/src/billing/types/subscriptions.ts:60


graceExpiredAt?​

optional graceExpiredAt?: string | null

Defined in: javascript/src/billing/types/subscriptions.ts:61


interval?​

optional interval?: string | null

Defined in: javascript/src/billing/types/subscriptions.ts:64


intervalCount?​

optional intervalCount?: number | null

Defined in: javascript/src/billing/types/subscriptions.ts:65


metadata?​

optional metadata?: JsonObject | null

Defined in: javascript/src/billing/types/subscriptions.ts:66


offerId?​

optional offerId?: string | null

Defined in: javascript/src/billing/types/subscriptions.ts:50


offerKey?​

optional offerKey?: string | null

Defined in: javascript/src/billing/types/subscriptions.ts:51


plan?​

optional plan?: string | null

Defined in: javascript/src/billing/types/subscriptions.ts:53


planId?​

optional planId?: string | null

Defined in: javascript/src/billing/types/subscriptions.ts:52


provider​

provider: string

Defined in: javascript/src/billing/types/subscriptions.ts:47


providerCustomerId?​

optional providerCustomerId?: string | null

Defined in: javascript/src/billing/types/subscriptions.ts:49


providerSubscriptionId​

providerSubscriptionId: string

Defined in: javascript/src/billing/types/subscriptions.ts:48


providerUpdatedAt​

providerUpdatedAt: string

Defined in: javascript/src/billing/types/subscriptions.ts:62


status​

status: BillingSubscriptionStatus

Defined in: javascript/src/billing/types/subscriptions.ts:54


subscriptionId?​

optional subscriptionId?: string | null

Defined in: javascript/src/billing/types/subscriptions.ts:45


trialEnd?​

optional trialEnd?: string | null

Defined in: javascript/src/billing/types/subscriptions.ts:57


userId​

userId: string

Defined in: javascript/src/billing/types/subscriptions.ts:46