UNPKG

cecon-interfaces

Version:
34 lines (33 loc) 1.25 kB
import { EFrom } from '../../../general'; import { IOrderAdditionalFee, IOrderBenefits, IOrderCancellation, IOrderCustomer, IOrderPayment, OrderTotalEntity } from '../../../order'; import { ENatipayOrderStatus, ENatipaySaleChannel } from '../enums'; import { INatipayOrder } from '../interfaces/i-order'; import { NatipayOrderItemEntity } from './item.entity'; import { NatipayMercadoPagoEntity } from './mercado-pago.entity'; export declare class NatipayOrderEntity implements INatipayOrder { additionalFees: IOrderAdditionalFee[]; benefits: IOrderBenefits[]; callbacks: string[]; cancellation: IOrderCancellation | null; companyId: string; companyName: string; containerId: string; createdAt: Date; customer: IOrderCustomer | null; displayId: string; from: EFrom; id: string; invoiceId: string | null; items: NatipayOrderItemEntity[]; mercadoPago: NatipayMercadoPagoEntity | null; payments: IOrderPayment | null; reference: string; saleChannel: ENatipaySaleChannel; sandbox: boolean; status: ENatipayOrderStatus; total: OrderTotalEntity; transactionId: string | null; updatedAt: Date; version: string; constructor(data?: Partial<NatipayOrderEntity>); }