import type { billingutils_BillingPeriodType } from './billingutils_BillingPeriodType'; import type { line_item_LineItem } from './line_item_LineItem'; import type { payment_PaymentMethodPreference } from './payment_PaymentMethodPreference'; export type subscription_CreateSubscriptionInput = { /** * ClientID is the client the subscription bills. */ clientId?: string; /** * CollectionMethod is how invoices for the subscription are collected. */ collectionMethod?: subscription_CreateSubscriptionInput.collectionMethod; /** * CompanyID is the company the subscription bills. */ companyId?: string; /** * Currency is the ISO currency code. */ currency?: string; /** * DaysUntilDue sets the invoice due date relative to issuance. */ daysUntilDue?: number; /** * Interval is the billing period. */ interval?: billingutils_BillingPeriodType; /** * IntervalCount is the number of intervals between billings. */ intervalCount?: number; /** * LineItems are the subscription line items. */ lineItems?: Array; /** * Memo is an optional note shown on generated invoices. */ memo?: string; /** * PaymentMethodPreferences restricts which payment methods are offered. */ paymentMethodPreferences?: Array; /** * RecipientID is the recipient (client or company) of the subscription. */ recipientId?: string; /** * TaxPercentage is an optional tax rate applied to generated invoices. */ taxPercentage?: number; /** * TemplateID optionally seeds the subscription from a subscription template. */ templateId?: string; }; export declare namespace subscription_CreateSubscriptionInput { /** * CollectionMethod is how invoices for the subscription are collected. */ enum collectionMethod { SEND_INVOICE = "sendInvoice", CHARGE_AUTOMATICALLY = "chargeAutomatically" } }