copyWith method
Создает экземпляр с заданными параметрами
Implementation
@override
ApplePayRecurrentRequest copyWith({
String? orderNumber,
int? feeInput,
String? language,
String? bindingId,
int? amount,
int? currency,
String? description,
Map<String, dynamic>? additionalParameters,
BillingPayerData? billingPayerData,
}) {
return ApplePayRecurrentRequest(
orderNumber: orderNumber ?? this.orderNumber,
feeInput: feeInput ?? this.feeInput,
language: language ?? this.language,
bindingId: bindingId ?? this.bindingId,
amount: amount ?? this.amount,
currency: currency ?? this.currency,
description: description ?? this.description,
additionalParameters: additionalParameters ?? this.additionalParameters,
billingPayerData: billingPayerData ?? this.billingPayerData,
);
}