copyWith method
PaywayCheckTransactionResponse
copyWith(
{ - int? status,
- String? description,
- double? amount,
- double? totalAmount,
- String? apv,
- String? paymentStatus,
- DateTime? datetime,
- ABATransactionCurrency? originalCurrency,
- List<Map>? payout,
- String? tranId,
- String? firstname,
- String? lastname,
- String? phone,
- String? email,
- String? paymentType,
})
Implementation
PaywayCheckTransactionResponse copyWith({
int? status,
String? description,
double? amount,
double? totalAmount,
String? apv,
String? paymentStatus,
DateTime? datetime,
ABATransactionCurrency? originalCurrency,
List<Map<dynamic, dynamic>>? payout,
String? tranId,
String? firstname,
String? lastname,
String? phone,
String? email,
String? paymentType,
}) {
return PaywayCheckTransactionResponse(
status: status ?? this.status,
description: description ?? this.description,
amount: amount ?? this.amount,
totalAmount: totalAmount ?? this.totalAmount,
apv: apv ?? this.apv,
paymentStatus: paymentStatus ?? this.paymentStatus,
datetime: datetime ?? this.datetime,
originalCurrency: originalCurrency ?? this.originalCurrency,
payout: payout ?? this.payout,
tranId: tranId ?? this.tranId,
firstname: firstname ?? this.firstname,
lastname: lastname ?? this.lastname,
phone: phone ?? this.phone,
email: email ?? this.email,
paymentType: paymentType ?? this.paymentType,
);
}