cmp-aws-database
Version:
The package "cmp-aws-database" is for its database, which defines global tables. These tables are designed to be imported and used across multiple applications of "craft-my-plate."
32 lines (31 loc) • 915 B
TypeScript
import { BaseModel } from "../../../base-model";
export declare class PaymentModel extends BaseModel {
paymentId: string;
orderId: string;
userId: string | undefined;
plateId: string | undefined;
razorpayPaymentId: string;
razorpayOrderId: string;
razorpaySignature: string;
paymentStatus: string;
paymentMethod: string;
paymentMethodType: string;
amount: number;
initialPaymentAmount: number;
remainingAmount: number;
paymentDueDate: string;
paymentDate: string;
splitLevel: number;
splitingAmountDetails: SplitingAmountDetails[];
assigneeIds?: string[];
refundType?: string;
refundAmount?: number;
refundStatus?: string;
refundLog?: Record<string, string>;
}
export declare class SplitingAmountDetails {
splitAmount: number;
splitPaymentStatus: string;
splitPaidDate?: Date | null;
nextSplitDueDate?: Date;
}