scheunemann-interfaces
Version:
Interfaces de Projetos Scheunemann
21 lines (20 loc) • 750 B
TypeScript
import { EPaymentType } from '..';
import { IPaymentMethod } from '../interfaces';
import { PaymentCardEntity } from './payment-card.entity';
import { PaymentCashEntity } from './payment-cash.entity';
import { PaymentPixEntity } from './payment-pix.entity';
import { PaymentWalletEntity } from './payment-wallet.entity';
export declare class PaymentMethodEntity implements IPaymentMethod {
card?: PaymentCardEntity | null;
cash?: PaymentCashEntity | null;
code: string;
currency: 'BRL';
id: string;
method: EPaymentType;
pix?: PaymentPixEntity | null;
prepaid: boolean;
type: 'ONLINE' | 'OFFLINE';
value: number;
wallet?: PaymentWalletEntity | null;
constructor(data?: Partial<PaymentMethodEntity>);
}