copyWith method

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

Implementation

PaymentInitiationStandingOrderMetadata copyWith(
    {bool? supportsStandingOrderEndDate,
    bool? supportsStandingOrderNegativeExecutionDays,
    List<enums.PaymentScheduleInterval>? validStandingOrderIntervals}) {
  return PaymentInitiationStandingOrderMetadata(
      supportsStandingOrderEndDate:
          supportsStandingOrderEndDate ?? this.supportsStandingOrderEndDate,
      supportsStandingOrderNegativeExecutionDays:
          supportsStandingOrderNegativeExecutionDays ??
              this.supportsStandingOrderNegativeExecutionDays,
      validStandingOrderIntervals:
          validStandingOrderIntervals ?? this.validStandingOrderIntervals);
}