copyWith method
TransactionTerminal
copyWith({
- SendPosPaymentModel? request,
- ResponseOperationPaymentModel? result,
- bool? checkCalled,
- String? checkCheckSystem,
- String? checkPaySystem,
- DateTime? createAtUTC,
- int? idTransactionInt,
- String? idTransactionString,
- bool? payCalled,
- bool? refundCalled,
- double? sumFull,
- TransactionType? transactionType,
Implementation
TransactionTerminal copyWith({
SendPosPaymentModel? request,
ResponseOperationPaymentModel? result,
bool? checkCalled,
String? checkCheckSystem,
String? checkPaySystem,
DateTime? createAtUTC,
int? idTransactionInt,
String? idTransactionString,
bool? payCalled,
bool? refundCalled,
double? sumFull,
TransactionType? transactionType,
}) {
return TransactionTerminal(
request: request ?? this.request,
result: result ?? this.result,
checkCalled: checkCalled ?? this.checkCalled,
checkCheckSystem: checkCheckSystem ?? this.checkCheckSystem,
checkPaySystem: checkPaySystem ?? this.checkPaySystem,
createAtUTC: createAtUTC ?? this.createAtUTC,
idTransactionInt: idTransactionInt ?? this.idTransactionInt,
idTransactionString: idTransactionString ?? this.idTransactionString,
payCalled: payCalled ?? this.payCalled,
refundCalled: refundCalled ?? this.refundCalled,
sumFull: sumFull ?? this.sumFull,
transactionType: transactionType ?? this.transactionType,
);
}