copyWith method

PaymentInitiationRecipientGetResponse copyWith({
  1. String? requestId,
  2. String? recipientId,
  3. String? name,
  4. PaymentInitiationAddress? address,
  5. String? iban,
  6. RecipientBACSNullable? bacs,
})

Implementation

PaymentInitiationRecipientGetResponse copyWith(
    {String? requestId,
    String? recipientId,
    String? name,
    PaymentInitiationAddress? address,
    String? iban,
    RecipientBACSNullable? bacs}) {
  return PaymentInitiationRecipientGetResponse(
      requestId: requestId ?? this.requestId,
      recipientId: recipientId ?? this.recipientId,
      name: name ?? this.name,
      address: address ?? this.address,
      iban: iban ?? this.iban,
      bacs: bacs ?? this.bacs);
}