/** FireStore Database OrderTotals JSON Format. Same as IR8OrderTotals. */ export declare type IR8OrderTotalsFS = IR8OrderTotals; /** * Order Totals sum(details), sum(payments), ... * */ export interface IR8OrderTotals { totalTTC: number; totalBase: number; totalPay: number; } export declare function OrderTotalsInitialValue(): Partial; /** Default Validation OrderTotals * Throw Error if fail */ export declare function CheckOrderTotalsIsValid(Obj: Partial | Partial): void; /** Default Validation OrderTotals * return Error message if failure */ export declare function OrderTotalsIsValid(Obj: Partial | Partial): string; /** Serialize IR8OrderTotals to Firestore JSON */ export declare function OrderTotals2JSON(Obj: Partial): IR8OrderTotalsFS; /** Serialize Firestore JSON to IR8OrderTotals. json can be undefined */ export declare function JSON2OrderTotals(json: Partial | undefined, target: IR8OrderTotals): void; /** New OrderTotals from Firestore JSON */ export declare function JSONAsOrderTotals(json?: Partial): IR8OrderTotals;