Skip to main content
Version: 2.x

Interface: BillingServiceOptions

Defined in: javascript/src/billing/service-types.ts:5

Properties​

autoSelectEntitlementSource?​

optional autoSelectEntitlementSource?: boolean

Defined in: javascript/src/billing/service-types.ts:8


eventHandlers?​

optional eventHandlers?: Partial<Record<BillingEventType, BillingEventHandler>>

Defined in: javascript/src/billing/service-types.ts:7


logger?​

optional logger?: Logger | null

Defined in: javascript/src/billing/service-types.ts:13


pastDueGracePeriodMs?​

optional pastDueGracePeriodMs?: number

Defined in: javascript/src/billing/service-types.ts:10

Access grace after a failed subscription payment. Defaults to seven days.


provisioning?​

optional provisioning?: BillingProvisioningPort | null

Defined in: javascript/src/billing/service-types.ts:6


terminalPlanKey?​

optional terminalPlanKey?: string | null

Defined in: javascript/src/billing/service-types.ts:12

Plan assigned when a paid subscription reaches terminal state.