Skip to main content
Version: 2.x

Interface: BillingSubscriptionState

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

Properties

cancelAt?

optional cancelAt?: string | null

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


cancelAtPeriodEnd

cancelAtPeriodEnd: boolean

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


currentPeriodEnd?

optional currentPeriodEnd?: string | null

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


currentPeriodStart?

optional currentPeriodStart?: string | null

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


endedAt?

optional endedAt?: string | null

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


graceEndsAt?

optional graceEndsAt?: string | null

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


graceExpiredAt?

optional graceExpiredAt?: string | null

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


interval?

optional interval?: string | null

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


intervalCount?

optional intervalCount?: number | null

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


metadata?

optional metadata?: Record<string, unknown> | null

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


offerId?

optional offerId?: string | null

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


offerKey?

optional offerKey?: string | null

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


plan?

optional plan?: string | null

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


planId?

optional planId?: string | null

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


provider

provider: string

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


providerCustomerId?

optional providerCustomerId?: string | null

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


providerSubscriptionId

providerSubscriptionId: string

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


providerUpdatedAt

providerUpdatedAt: string

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


status

status: BillingSubscriptionStatus

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


subscriptionId?

optional subscriptionId?: string | null

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


trialEnd?

optional trialEnd?: string | null

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


userId

userId: string

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