copyWithWrapped method

PaymentInitiationStandingOrderMetadata copyWithWrapped({
  1. Wrapped<bool>? supportsStandingOrderEndDate,
  2. Wrapped<bool>? supportsStandingOrderNegativeExecutionDays,
  3. Wrapped<List<PaymentScheduleInterval>>? validStandingOrderIntervals,
})

Implementation

PaymentInitiationStandingOrderMetadata copyWithWrapped(
    {Wrapped<bool>? supportsStandingOrderEndDate,
    Wrapped<bool>? supportsStandingOrderNegativeExecutionDays,
    Wrapped<List<enums.PaymentScheduleInterval>>?
        validStandingOrderIntervals}) {
  return PaymentInitiationStandingOrderMetadata(
      supportsStandingOrderEndDate: (supportsStandingOrderEndDate != null
          ? supportsStandingOrderEndDate.value
          : this.supportsStandingOrderEndDate),
      supportsStandingOrderNegativeExecutionDays:
          (supportsStandingOrderNegativeExecutionDays != null
              ? supportsStandingOrderNegativeExecutionDays.value
              : this.supportsStandingOrderNegativeExecutionDays),
      validStandingOrderIntervals: (validStandingOrderIntervals != null
          ? validStandingOrderIntervals.value
          : this.validStandingOrderIntervals));
}