copyWith method
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,
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,
);
}