copyWithWrapped method
Implementation
PaymentInitiationRecipientGetResponse copyWithWrapped(
{Wrapped<String>? requestId,
Wrapped<String>? recipientId,
Wrapped<String>? name,
Wrapped<PaymentInitiationAddress?>? address,
Wrapped<String?>? iban,
Wrapped<RecipientBACSNullable?>? bacs}) {
return PaymentInitiationRecipientGetResponse(
requestId: (requestId != null ? requestId.value : this.requestId),
recipientId:
(recipientId != null ? recipientId.value : this.recipientId),
name: (name != null ? name.value : this.name),
address: (address != null ? address.value : this.address),
iban: (iban != null ? iban.value : this.iban),
bacs: (bacs != null ? bacs.value : this.bacs));
}