copyWith method
RedeTransactionResponse
copyWith({
- String? storeName,
- String? date,
- String? hour,
- double? amount,
- String? auto,
- String? nsu,
- String? issuerName,
- String? cardHolderName,
- String? terminalNumber,
- String? cv,
- String? aid,
- String? arqc,
- int? installments,
- double? installmentValue,
- String? document,
- String? operationType,
- String? maskedPan,
- String? pinTransactionId,
- String? paymentType,
- String? status,
- String? referenceId,
- String? transactionNumber,
- String? method,
Implementation
RedeTransactionResponse copyWith({
String? storeName,
String? date,
String? hour,
double? amount,
String? auto,
String? nsu,
String? issuerName,
String? cardHolderName,
String? terminalNumber,
String? cv,
String? aid,
String? arqc,
int? installments,
double? installmentValue,
String? document,
String? operationType,
String? maskedPan,
String? pinTransactionId,
String? paymentType,
String? status,
String? referenceId,
String? transactionNumber,
String? method,
}) {
return RedeTransactionResponse(
storeName: storeName ?? this.storeName,
date: date ?? this.date,
hour: hour ?? this.hour,
amount: amount ?? this.amount,
auto: auto ?? this.auto,
nsu: nsu ?? this.nsu,
issuerName: issuerName ?? this.issuerName,
cardHolderName: cardHolderName ?? this.cardHolderName,
terminalNumber: terminalNumber ?? this.terminalNumber,
cv: cv ?? this.cv,
aid: aid ?? this.aid,
arqc: arqc ?? this.arqc,
installments: installments ?? this.installments,
installmentValue: installmentValue ?? this.installmentValue,
document: document ?? this.document,
operationType: operationType ?? this.operationType,
maskedPan: maskedPan ?? this.maskedPan,
pinTransactionId: pinTransactionId ?? this.pinTransactionId,
paymentType: paymentType ?? this.paymentType,
status: status ?? this.status,
referenceId: referenceId ?? this.referenceId,
transactionNumber: transactionNumber ?? this.transactionNumber,
method: method ?? this.method,
);
}