copyWith method

Implementation

PaymentConsentPeriodicAmount copyWith(
    {PaymentConsentPeriodicAmountAmount? amount,
    enums.PaymentConsentPeriodicInterval? interval,
    enums.PaymentConsentPeriodicAlignment? alignment}) {
  return PaymentConsentPeriodicAmount(
      amount: amount ?? this.amount,
      interval: interval ?? this.interval,
      alignment: alignment ?? this.alignment);
}