copyWithWrapped method
PaymentInitiationMetadata
copyWithWrapped({
- Wrapped<
bool> ? supportsInternationalPayments, - Wrapped<
bool> ? supportsSepaInstant, - Wrapped<
PaymentInitiationMaximumPaymentAmount> ? maximumPaymentAmount, - Wrapped<
bool> ? supportsRefundDetails, - Wrapped<
PaymentInitiationStandingOrderMetadata?> ? standingOrderMetadata,
Implementation
PaymentInitiationMetadata copyWithWrapped(
{Wrapped<bool>? supportsInternationalPayments,
Wrapped<bool>? supportsSepaInstant,
Wrapped<PaymentInitiationMaximumPaymentAmount>? maximumPaymentAmount,
Wrapped<bool>? supportsRefundDetails,
Wrapped<PaymentInitiationStandingOrderMetadata?>?
standingOrderMetadata}) {
return PaymentInitiationMetadata(
supportsInternationalPayments: (supportsInternationalPayments != null
? supportsInternationalPayments.value
: this.supportsInternationalPayments),
supportsSepaInstant: (supportsSepaInstant != null
? supportsSepaInstant.value
: this.supportsSepaInstant),
maximumPaymentAmount: (maximumPaymentAmount != null
? maximumPaymentAmount.value
: this.maximumPaymentAmount),
supportsRefundDetails: (supportsRefundDetails != null
? supportsRefundDetails.value
: this.supportsRefundDetails),
standingOrderMetadata: (standingOrderMetadata != null
? standingOrderMetadata.value
: this.standingOrderMetadata));
}