copyWith method

PaymentInitiationRecipientCreateRequest copyWith({
  1. String? clientId,
  2. String? secret,
  3. String? name,
  4. String? iban,
  5. RecipientBACSNullable? bacs,
  6. PaymentInitiationAddress? address,
})

Implementation

PaymentInitiationRecipientCreateRequest copyWith(
    {String? clientId,
    String? secret,
    String? name,
    String? iban,
    RecipientBACSNullable? bacs,
    PaymentInitiationAddress? address}) {
  return PaymentInitiationRecipientCreateRequest(
      clientId: clientId ?? this.clientId,
      secret: secret ?? this.secret,
      name: name ?? this.name,
      iban: iban ?? this.iban,
      bacs: bacs ?? this.bacs,
      address: address ?? this.address);
}