copyWithWrapped method
PaymentInitiationRecipient
copyWithWrapped({
- Wrapped<
String> ? recipientId, - Wrapped<
String> ? name, - Wrapped<
PaymentInitiationAddress?> ? address, - Wrapped<
String?> ? iban, - Wrapped<
RecipientBACSNullable?> ? bacs,
Implementation
PaymentInitiationRecipient copyWithWrapped(
{Wrapped<String>? recipientId,
Wrapped<String>? name,
Wrapped<PaymentInitiationAddress?>? address,
Wrapped<String?>? iban,
Wrapped<RecipientBACSNullable?>? bacs}) {
return PaymentInitiationRecipient(
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));
}