import type { billing_BillingFieldsModel } from './billing_BillingFieldsModel'; import type { billing_TemplateAdditionalFields } from './billing_TemplateAdditionalFields'; import type { line_item_LineItem } from './line_item_LineItem'; export type billing_Template = { additionalFields: billing_TemplateAdditionalFields; createdAt?: string; creatorId?: string; /** * Currency is the three-letter ISO 4217 currency code the subscription is billed in. */ currency?: string; data?: string; fields: billing_BillingFieldsModel; filteredListIndexPkey?: string; id?: string; identityId?: string; /** * Interval is the billing cadence of the subscription. */ interval?: billing_Template.interval; /** * IntervalCount is the number of intervals between each billing cycle. */ intervalCount?: number; /** * LineItems are the products and one-off charges billed by this subscription template. */ lineItems?: Array; /** * Memo is the note shown to the client on invoices generated from this template. */ memo?: string; /** * Name is the display name of the subscription template. */ name?: string; object?: string; previousAttributes?: Record; ref?: string; /** * TaxPercentage is the tax rate applied to the subscription, expressed as a percentage; absent when no tax is configured. */ taxPercentage?: number; updatedAt?: string; }; export declare namespace billing_Template { /** * Interval is the billing cadence of the subscription. */ enum interval { DAY = "day", WEEK = "week", MONTH = "month", QUARTERLY = "quarterly", BIANNUALLY = "biannually", YEAR = "year", SEMIANNUALLY = "semiannually" } }