copyWithWrapped method

Implementation

PaymentConsentPeriodicAmountAmount copyWithWrapped(
    {Wrapped<enums.PaymentAmountCurrency>? currency,
    Wrapped<double>? value}) {
  return PaymentConsentPeriodicAmountAmount(
      currency: (currency != null ? currency.value : this.currency),
      value: (value != null ? value.value : this.value));
}