copyWith method

TefTransactionModel copyWith({
  1. int? id,
  2. String? tefCodPayment,
  3. String? tefDescPayment,
  4. String? tefInstitution,
  5. String? tefCodInstitution,
  6. String? tefCardType,
  7. String? binCard,
  8. String? tefDigitalWalletId,
  9. String? tefDigitalWalletType,
  10. String? tefDigitalWalletName,
  11. String? tefNSUSitef,
  12. String? tefNSUAuthorizing,
  13. String? tefCodAuthorization,
  14. String? establishmentReceipt,
  15. String? customerReceipt,
  16. String? transactionConfirmation,
  17. String? couponModality,
  18. String? transactionDateTime,
  19. String? cancellationMode,
  20. String? amountToPay,
  21. String? amountReceived,
  22. String? returnValue,
  23. String? paymentAmount,
  24. String? codCancellationMode,
  25. int? resultCode,
  26. String? compDadosConf,
  27. String? codTrans,
  28. String? redeAut,
  29. String? codResposta,
  30. String? typeFields,
  31. String? codDocumentCancelled,
  32. String? amountCancelled,
  33. String? cardNumber,
  34. String? cardNumberLast,
})

Implementation

TefTransactionModel copyWith({
  int? id,
  String? tefCodPayment,
  String? tefDescPayment,
  String? tefInstitution,
  String? tefCodInstitution,
  String? tefCardType,
  String? binCard,
  String? tefDigitalWalletId,
  String? tefDigitalWalletType,
  String? tefDigitalWalletName,
  String? tefNSUSitef,
  String? tefNSUAuthorizing,
  String? tefCodAuthorization,
  String? establishmentReceipt,
  String? customerReceipt,
  String? transactionConfirmation,
  String? couponModality,
  String? transactionDateTime,
  String? cancellationMode,
  String? amountToPay,
  String? amountReceived,
  String? returnValue,
  String? paymentAmount,
  String? codCancellationMode,
  int? resultCode,
  String? compDadosConf,
  String? codTrans,
  String? redeAut,
  String? codResposta,
  String? typeFields,
  String? codDocumentCancelled,
  String? amountCancelled,
  String? cardNumber,
  String? cardNumberLast,
}) {
  return TefTransactionModel(
    id: id ?? this.id,
    tefCodPayment: tefCodPayment ?? this.tefCodPayment,
    tefDescPayment: tefDescPayment ?? this.tefDescPayment,
    tefInstitution: tefInstitution ?? this.tefInstitution,
    tefCodInstitution: tefCodInstitution ?? this.tefCodInstitution,
    tefCardType: tefCardType ?? this.tefCardType,
    binCard: binCard ?? this.binCard,
    tefDigitalWalletId: tefDigitalWalletId ?? this.tefDigitalWalletId,
    tefDigitalWalletType: tefDigitalWalletType ?? this.tefDigitalWalletType,
    tefDigitalWalletName: tefDigitalWalletName ?? this.tefDigitalWalletName,
    tefNSUSitef: tefNSUSitef ?? this.tefNSUSitef,
    tefNSUAuthorizing: tefNSUAuthorizing ?? this.tefNSUAuthorizing,
    tefCodAuthorization: tefCodAuthorization ?? this.tefCodAuthorization,
    establishmentReceipt: establishmentReceipt ?? this.establishmentReceipt,
    customerReceipt: customerReceipt ?? this.customerReceipt,
    transactionConfirmation: transactionConfirmation ?? this.transactionConfirmation,
    couponModality: couponModality ?? this.couponModality,
    transactionDateTime: transactionDateTime ?? this.transactionDateTime,
    cancellationMode: cancellationMode ?? this.cancellationMode,
    amountToPay: amountToPay ?? this.amountToPay,
    amountReceived: amountReceived ?? this.amountReceived,
    returnValue: returnValue ?? this.returnValue,
    paymentAmount: paymentAmount ?? this.paymentAmount,
    codCancellationMode: codCancellationMode ?? this.codCancellationMode,
    resultCode: resultCode ?? this.resultCode,
    compDadosConf: compDadosConf ?? this.compDadosConf,
    codTrans: codTrans ?? this.codTrans,
    redeAut: redeAut ?? this.redeAut,
    codResposta: codResposta ?? this.codResposta,
    typeFields: typeFields ?? this.typeFields,
    codDocumentCancelled: codDocumentCancelled ?? this.codDocumentCancelled,
    amountCancelled: amountCancelled ?? this.amountCancelled,
    cardNumber: cardNumber ?? this.cardNumber,
    cardNumberLast: cardNumberLast ?? this.cardNumberLast,
  );
}