@vertical-insure/web-components
Version:
Vertical Insure Web Components using Lit and Open Web Standards
22 lines (21 loc) • 553 B
TypeScript
import { PolicyAttributes } from "./policy-attributes";
import { Product } from "./product";
export type Policy<T extends PolicyAttributes> = {
id?: string;
quote_id?: string;
product: Product;
policy_attributes?: T;
premium_amount?: number;
total?: number;
taxes_and_fees?: {
description: string;
amount: number;
}[];
subscription_premium?: {
payments_required: number;
payment_amount: number;
};
currency?: 'USD' | 'CAD';
checkout_url?: string;
offer_id?: string;
};