@datatr-ux/ovhcloud-types
Version:
TypeScript types for OVHCloud projects
26 lines • 843 B
TypeScript
import { Price } from '../order/Price';
import { StatusDebtOrderEnum } from './entry/StatusDebtOrderEnum';
/** State of a debt */
export interface Debt {
/** Original amount of the debt */
amount: Price;
/** Date the debt was created on */
date: string;
/** */
debtId: number;
/** Amount you still owe for that debt */
dueAmount: Price;
/** If specified, the debt will not be recovered before that date */
dueDate?: string;
/** The order the debt relates to */
orderId: number;
/** Amount currently being processed */
pendingAmount: Price;
/** Status of a debt */
status: StatusDebtOrderEnum;
/** Reserved amount awaiting payment */
todoAmount: Price;
/** Unmatured amount for deferred payment term */
unmaturedAmount: Price;
}
//# sourceMappingURL=Debt.d.ts.map