copyWithWrapped method
Implementation
ExternalPaymentScheduleBase copyWithWrapped(
{Wrapped<enums.PaymentScheduleInterval?>? interval,
Wrapped<int?>? intervalExecutionDay,
Wrapped<DateTime?>? startDate,
Wrapped<DateTime?>? endDate,
Wrapped<DateTime?>? adjustedStartDate}) {
return ExternalPaymentScheduleBase(
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));
}