scheunemann-interfaces
Version:
Interfaces de Projetos Scheunemann
26 lines (25 loc) • 762 B
TypeScript
import { EDiscountType } from '../../general';
import { EVoucherStatus, EVoucherTargetTypes } from '../enums';
import { IVoucher, IVoucherRule, IVoucherSponsorship } from '../interfaces';
export declare class VoucherEntity implements IVoucher {
concludedAt: Date | null;
createdAt: Date;
id: string;
isPublic: boolean;
key: string;
name: string;
activatedAt: Date | null;
rules: IVoucherRule[];
type: EDiscountType;
amount: number;
sponsorship: IVoucherSponsorship[];
status: EVoucherStatus;
targetsId: string[];
targetType: EVoucherTargetTypes;
updatedAt: Date;
limit: number;
isExclusive: boolean;
usedCount: number;
active: boolean;
constructor(data?: Partial<VoucherEntity>);
}