copyWith method

  1. @override
ApplePayRecurrentRequest copyWith({
  1. String? orderNumber,
  2. int? feeInput,
  3. String? language,
  4. String? bindingId,
  5. int? amount,
  6. int? currency,
  7. String? description,
  8. Map<String, dynamic>? additionalParameters,
  9. BillingPayerData? billingPayerData,
})

Создает экземпляр с заданными параметрами

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,
  );
}