cecon-interfaces
Version:
Interfaces de Projetos Cecon
45 lines (44 loc) • 1.15 kB
TypeScript
import { EPaymentMethodId, EPaymentTypeId, EReleaseStatus } from '../../../transaction';
export interface IMercadoPagoPaymentCamelCase {
additionalInfo: {};
card: {};
collectorId: number;
couponAmount: number;
currencyId: string;
dateApproved: string;
dateCreated: string;
dateLastUpdated: string;
description: string;
externalReference?: string;
id: number;
installments: number;
metadata: {};
moneyReleaseDate: Date;
moneyReleaseStatus: EReleaseStatus;
payer: {
id: number;
email: string;
identification: {
type: string;
number: number;
};
type: string;
};
paymentMethodId: string;
paymentMethods: {
issuerId: string;
id: EPaymentMethodId;
type: EPaymentTypeId;
};
paymentTypeId: string;
status: string;
statusDetail: string;
transactionAmount: number;
transactionAmountRefunded: number;
transactionDetails: {
netReceivedAmount: number;
totalPaidAmount: number;
overpaidAmount: number;
installmentAmount: number;
};
}