copyWithWrapped method
PaymentConsentPeriodicAmount
copyWithWrapped({
- Wrapped<
PaymentConsentPeriodicAmountAmount> ? amount, - Wrapped<
PaymentConsentPeriodicInterval> ? interval, - Wrapped<
PaymentConsentPeriodicAlignment> ? alignment,
Implementation
PaymentConsentPeriodicAmount copyWithWrapped(
{Wrapped<PaymentConsentPeriodicAmountAmount>? amount,
Wrapped<enums.PaymentConsentPeriodicInterval>? interval,
Wrapped<enums.PaymentConsentPeriodicAlignment>? alignment}) {
return PaymentConsentPeriodicAmount(
amount: (amount != null ? amount.value : this.amount),
interval: (interval != null ? interval.value : this.interval),
alignment: (alignment != null ? alignment.value : this.alignment));
}