Skip to main content

Subscription

Subscription with pricing, billing period and status

Extends

  • WorkspaceResource

Properties

currentPeriodEndDate?

optional currentPeriodEndDate: Date

The end date of the current billing period.


currentPeriodStartDate?

optional currentPeriodStartDate: Date

The start date of the current billing period.


endDate?

optional endDate: Date

Subscription end date, or null if ongoing


id

id: string

Unique string identifier

Inherited from

WorkspaceResource.id


paymentSystemSubscriptionId?

optional paymentSystemSubscriptionId: string

Subscription Id inside of payment system


pendingPricing?

optional pendingPricing: Pricing

Pending pricing


pendingPricingId?

optional pendingPricingId: string

Pending pricing plan Id


pricing?

optional pricing: Pricing

Current pricing


pricingId

pricingId: string

Id of the current active Pricing plan


status

status: number

Current status of the subscription.


workspaceId

workspaceId: string

Workspace Id this subscription belongs to

Overrides

WorkspaceResource.workspaceId