copyWithWrapped method 
    
    
    
  Implementation
  ExternalPaymentScheduleRequest copyWithWrapped(
    {Wrapped<enums.PaymentScheduleInterval>? interval,
    Wrapped<int>? intervalExecutionDay,
    Wrapped<DateTime>? startDate,
    Wrapped<DateTime?>? endDate,
    Wrapped<DateTime?>? adjustedStartDate}) {
  return ExternalPaymentScheduleRequest(
      interval: (interval != null ? interval.value : this.interval),
      intervalExecutionDay: (intervalExecutionDay != null
          ? intervalExecutionDay.value
          : this.intervalExecutionDay),
      startDate: (startDate != null ? startDate.value : this.startDate),
      endDate: (endDate != null ? endDate.value : this.endDate),
      adjustedStartDate: (adjustedStartDate != null
          ? adjustedStartDate.value
          : this.adjustedStartDate));
}