copyWith method
FinishAuthorizeRequest
copyWith({
- String? cardData,
- String? encryptedPaymentData,
- int? amount,
- Map<
String, String> ? data, - String? infoEmail,
- String? ip,
- int? paymentId,
- String? phone,
- bool? sendEmail,
- Route? route,
- Source? source,
- String? signToken,
override
Создает экземпляр с заданными параметрами
Implementation
@override
FinishAuthorizeRequest copyWith({
String? cardData,
String? encryptedPaymentData,
int? amount,
Map<String, String>? data,
String? infoEmail,
String? ip,
int? paymentId,
String? phone,
bool? sendEmail,
Route? route,
Source? source,
String? signToken,
}) {
return FinishAuthorizeRequest(
paymentId: paymentId ?? this.paymentId,
cardData: cardData ?? this.cardData,
encryptedPaymentData: encryptedPaymentData ?? this.encryptedPaymentData,
amount: amount ?? this.amount,
data: data ?? this.data,
infoEmail: infoEmail ?? this.infoEmail,
ip: ip ?? this.ip,
phone: phone ?? this.phone,
sendEmail: sendEmail ?? this.sendEmail,
route: route ?? this.route,
source: source ?? this.source,
signToken: signToken ?? this.signToken,
);
}