refactor: edit type payment add id and invoice
This commit is contained in:
parent
7a591de6f3
commit
e8cd7e2df8
1 changed files with 2 additions and 0 deletions
|
|
@ -34,10 +34,12 @@ export type PaymentFlowAccount = {
|
||||||
};
|
};
|
||||||
|
|
||||||
export type Payment = {
|
export type Payment = {
|
||||||
|
id: string;
|
||||||
code?: string;
|
code?: string;
|
||||||
paymentStatus: string;
|
paymentStatus: string;
|
||||||
date: Date;
|
date: Date;
|
||||||
amount: number;
|
amount: number;
|
||||||
|
invoice: { id: string; amount: number; installments: { no: number }[] };
|
||||||
};
|
};
|
||||||
|
|
||||||
export type Receipt = Payment;
|
export type Receipt = Payment;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue