copyWithWrapped method
PaymentInitiationConsentConstraints
copyWithWrapped({
- Wrapped<
PaymentConsentValidDateTime?> ? validDateTime, - Wrapped<
PaymentConsentMaxPaymentAmount> ? maxPaymentAmount, - Wrapped<
List< ? periodicAmounts,PaymentConsentPeriodicAmount> >
Implementation
PaymentInitiationConsentConstraints copyWithWrapped(
{Wrapped<PaymentConsentValidDateTime?>? validDateTime,
Wrapped<PaymentConsentMaxPaymentAmount>? maxPaymentAmount,
Wrapped<List<PaymentConsentPeriodicAmount>>? periodicAmounts}) {
return PaymentInitiationConsentConstraints(
validDateTime:
(validDateTime != null ? validDateTime.value : this.validDateTime),
maxPaymentAmount: (maxPaymentAmount != null
? maxPaymentAmount.value
: this.maxPaymentAmount),
periodicAmounts: (periodicAmounts != null
? periodicAmounts.value
: this.periodicAmounts));
}