Passa al contenuto principale

WrSubscription

webround-docs


webround-docs / WrSubscription

Interface: WrSubscription

Defined in: wr.d.ts:799

A recurring subscription linked to an order

Properties

activeSince

activeSince: string

Defined in: wr.d.ts:807

When the subscription became active (ISO 8601)


cancelAtPeriodEnd

cancelAtPeriodEnd: boolean

Defined in: wr.d.ts:811

Whether the subscription will cancel at period end


createdAt

createdAt: string

Defined in: wr.d.ts:819


currentPeriodEnd

currentPeriodEnd: string

Defined in: wr.d.ts:809

End of the current billing period (ISO 8601)


id

id: string

Defined in: wr.d.ts:801

Unique identifier


latestInvoiceId

latestInvoiceId: string

Defined in: wr.d.ts:812


latestInvoiceUrl

latestInvoiceUrl: string

Defined in: wr.d.ts:814

URL to the latest invoice


order

order: WrOrder

Defined in: wr.d.ts:822

The associated order


status

status: string

Defined in: wr.d.ts:805

Subscription status (e.g. 'active', 'canceled')


stripeId

stripeId: string

Defined in: wr.d.ts:803

Stripe subscription ID


trialEnd

trialEnd: string

Defined in: wr.d.ts:818

Trial end timestamp (ISO 8601)


trialStart

trialStart: string

Defined in: wr.d.ts:816

Trial start timestamp (ISO 8601)


updatedAt

updatedAt: string

Defined in: wr.d.ts:820