Files
tsclass/ts/saas/subscriptionplan.ts
2023-09-13 13:31:30 +02:00

15 lines
328 B
TypeScript

import { type IProduct } from './product.js';
export interface ISubscriptionPlan {
name: string;
unit: 'device' | 'user';
quantity: boolean;
availableTerms: {
period: 'daily' | 'weekly' | 'monthly' | 'yearly';
price: number;
currency: 'EUR' | 'USD';
}[];
containedProducts: IProduct[];
limits: any;
}