@lomray/microservice-payment-stripe
Version:
Stripe payment microservice based on NodeJS & inverted json.
30 lines (29 loc) • 718 B
TypeScript
import PayoutMethod from "../constants/payout-method.js";
import PayoutStatus from "../constants/payout-status.js";
import PayoutType from "../constants/payout-type.js";
interface IParams {
[k: string]: any;
}
/**
* Payout entity
*/
declare class Payout {
id: string;
payoutId: string;
amount: number;
entityId: string | null;
destination: string | null;
method: PayoutMethod;
type: PayoutType;
status: PayoutStatus;
currency: string;
failureCode: string | null;
failureMessage: string | null;
description: string | null;
arrivalDate: Date;
registeredAt: Date;
params: IParams;
createdAt: Date;
updatedAt: Date;
}
export { Payout as default };