copyWithWrapped method

Implementation

PaymentInitiationRecipientCreateRequest copyWithWrapped(
    {Wrapped<String?>? clientId,
    Wrapped<String?>? secret,
    Wrapped<String>? name,
    Wrapped<String?>? iban,
    Wrapped<RecipientBACSNullable?>? bacs,
    Wrapped<PaymentInitiationAddress?>? address}) {
  return PaymentInitiationRecipientCreateRequest(
      clientId: (clientId != null ? clientId.value : this.clientId),
      secret: (secret != null ? secret.value : this.secret),
      name: (name != null ? name.value : this.name),
      iban: (iban != null ? iban.value : this.iban),
      bacs: (bacs != null ? bacs.value : this.bacs),
      address: (address != null ? address.value : this.address));
}