Files
cfw-autumn/shared/models/attachModels/attachEnums/AttachConfig.ts
John Yeo cb05d169a2 wip
2026-01-23 17:13:19 +00:00

23 lines
547 B
TypeScript

import type { AttachBranch } from "./AttachBranch.js";
export enum ProrationBehavior {
Immediately = "immediately",
NextBilling = "next_billing",
None = "none",
}
export interface AttachConfig {
onlyCheckout: boolean;
invoiceCheckout: boolean;
carryUsage: boolean; // Whether to carry over existing usages
branch: AttachBranch;
proration: ProrationBehavior;
disableTrial: boolean;
invoiceOnly: boolean;
disableMerge: boolean;
sameIntervals: boolean;
carryTrial: boolean;
finalizeInvoice: boolean;
requirePaymentMethod: boolean;
}