TefTransactionResponseMSitef.fromMap constructor

TefTransactionResponseMSitef.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory TefTransactionResponseMSitef.fromMap(Map<String, dynamic> map) {
  return TefTransactionResponseMSitef(
    id: map['id'] as int,
    tefCodPayment: map['tefCodPayment'] as String,
    tefDescPayment: map['tefDescPayment'] as String,
    tefInstitution: map['tefInstitution'] as String,
    tefCodInstitution: map['tefCodInstitution'] as String,
    tefCardType: map['tefCardType'] as String,
    binCard: map['binCard'] as String,
    tefDigitalWalletId: map['tefDigitalWalletId'] as String,
    tefDigitalWalletType: map['tefDigitalWalletType'] as String,
    tefDigitalWalletName: map['tefDigitalWalletName'] as String,
    tefNSUSitef: map['tefNSUSitef'] as String,
    tefNSUAuthorizing: map['tefNSUAuthorizing'] as String,
    tefCodAuthorization: map['tefCodAuthorization'] as String,
    establishmentReceipt: map['establishmentReceipt'] as String,
    customerReceipt: map['customerReceipt'] as String,
    transactionConfirmation: map['transactionConfirmation'] as String,
    couponModality: map['couponModality'] as String,
    transactionDateTime: map['transactionDateTime'] as String,
    cancellationMode: map['cancellationMode'] as String,
    amountToPay: map['amountToPay'] as String,
    amountReceived: map['amountReceived'] as String,
    returnValue: map['returnValue'] as String,
    paymentAmount: map['paymentAmount'] as String,
    codCancellationMode: map['codCancellationMode'] as String,
    resultCode: map['resultCode'] as int,
    compDadosConf: map['compDadosConf'] as String,
    codTrans: map['codTrans'] as String,
    redeAut: map['redeAut'] as String,
    codeDocumentCanceled: map['codeDocumentCanceled'] as String,
    cardholderName: map['cardholderName'] as String,
    transactionAmount: map['transactionAmount'] as String,
    amountCancelled: map['amountCancelled'] as String,
    cardNumber: map['cardNumber'] as String,
    cardNumberLast: map['cardNumberLast'] as String,
    errorTransaction: map['errorTransaction'] as String?,
    typeFields: map['typeFields'] as String?,
  );
}