copyWithWrapped method
Implementation
ExternalPaymentInitiationConsentOptions copyWithWrapped(
{Wrapped<String?>? walletId,
Wrapped<bool?>? requestRefundDetails,
Wrapped<String?>? iban,
Wrapped<PaymentInitiationOptionalRestrictionBacs?>? bacs}) {
return ExternalPaymentInitiationConsentOptions(
walletId: (walletId != null ? walletId.value : this.walletId),
requestRefundDetails: (requestRefundDetails != null
? requestRefundDetails.value
: this.requestRefundDetails),
iban: (iban != null ? iban.value : this.iban),
bacs: (bacs != null ? bacs.value : this.bacs));
}