oak-pay-business/lib/entities/AbstractPayAccount.d.ts

17 lines
662 B
TypeScript

import { Price, Boolean, Int, Decimal } from 'oak-domain/lib/types/DataType';
import { Schema as System } from './System';
import { EntityShape } from 'oak-domain/lib/types/Entity';
import { EntityDesc } from 'oak-domain/lib/types';
export interface Schema extends EntityShape {
taxLossRatio?: Decimal<4, 2>;
refundGapDays?: Int<4>;
refundCompensateRatio?: Int<4>;
allowWithdrawTransfer: Boolean;
withdrawTransferLossRatio?: Decimal<4, 2>;
price: Price;
needReceiving?: Boolean;
system: System;
}
export type Action = 'pay' | 'refund' | 'deposit' | 'withdraw' | 'tax';
export declare const entityDesc: EntityDesc<Schema, Action>;