export interface UpdateSubscriptionRequest { /** * ID of the subscription. String starting with **sub_**. */ subscription: `sub_${string}`; /** * Determines the method of billing. Set to **pay_automatically**. */ billing?: string; /** * Resets the start of the next billing cycle to the current day. Value: **now** */ billing_cycle_anchor?: string; /** * Terminates the subscription at the end of the current billing period. */ cancel_at_period_end?: boolean; /** * The ID of a discount coupon that applies to all subscription items associated with this subscription. */ coupon?: string; /** * Number of days between the date of issuance of an invoice and the date payment is due. */ days_until_due?: number; /** * A JSON object defined by the client. */ metadata?: object; /** * Object containing fields of the 'payment' object. */ payment_fields?: object; /** * The percentage of tax that is applied to the entire amount of the invoice or periodic billing statement. */ tax_percent?: number; /** * The time of the end of the customer's free trial period. If `trial_from_plan` is set, leave this parameter unset. */ trial_end?: number; /** * Determines whether a free trial period can be defined in a 'plan' object attached to the subscription. If `trial_end` is set, leave this parameter unset. Default is **true**. */ trial_from_plan?: boolean; /** * The number of days in the customer's free trial period. */ trial_period_days?: number; } //# sourceMappingURL=UpdateSubscriptionRequest.d.ts.map