copyWith method
ExternalPaymentScheduleBase
copyWith({
- PaymentScheduleInterval? interval,
- int? intervalExecutionDay,
- DateTime? startDate,
- DateTime? endDate,
- DateTime? adjustedStartDate,
Implementation
ExternalPaymentScheduleBase copyWith(
{enums.PaymentScheduleInterval? interval,
int? intervalExecutionDay,
DateTime? startDate,
DateTime? endDate,
DateTime? adjustedStartDate}) {
return ExternalPaymentScheduleBase(
interval: interval ?? this.interval,
intervalExecutionDay: intervalExecutionDay ?? this.intervalExecutionDay,
startDate: startDate ?? this.startDate,
endDate: endDate ?? this.endDate,
adjustedStartDate: adjustedStartDate ?? this.adjustedStartDate);
}