public class Schedule extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Schedule.DueDateTypeEnum
the payment terms
|
static class |
Schedule.UnitEnum
One of the following - WEEKLY or MONTHLY
|
| Constructor and Description |
|---|
Schedule() |
| Modifier and Type | Method and Description |
|---|---|
Schedule |
dueDate(Integer dueDate) |
Schedule |
dueDateType(Schedule.DueDateTypeEnum dueDateType) |
Schedule |
endDate(String endDate) |
boolean |
equals(Object o) |
Integer |
getDueDate()
Integer used with due date type e.g 20 (of following month), 31 (of current month)
|
Schedule.DueDateTypeEnum |
getDueDateType()
the payment terms
|
String |
getEndDate()
Invoice end date – only returned if the template has an end date set
|
org.threeten.bp.LocalDate |
getEndDateAsDate() |
String |
getNextScheduledDate()
The calendar date of the next invoice in the schedule to be generated
|
org.threeten.bp.LocalDate |
getNextScheduledDateAsDate() |
Integer |
getPeriod()
Integer used with the unit e.g.
|
String |
getStartDate()
Date the first invoice of the current version of the repeating schedule was generated (changes when repeating invoice is edited)
|
org.threeten.bp.LocalDate |
getStartDateAsDate() |
Schedule.UnitEnum |
getUnit()
One of the following - WEEKLY or MONTHLY
|
int |
hashCode() |
Schedule |
nextScheduledDate(String nextScheduledDate) |
Schedule |
period(Integer period) |
void |
setDueDate(Integer dueDate) |
void |
setDueDateType(Schedule.DueDateTypeEnum dueDateType) |
void |
setEndDate(org.threeten.bp.LocalDate endDate) |
void |
setEndDate(String endDate) |
void |
setNextScheduledDate(org.threeten.bp.LocalDate nextScheduledDate) |
void |
setNextScheduledDate(String nextScheduledDate) |
void |
setPeriod(Integer period) |
void |
setStartDate(org.threeten.bp.LocalDate startDate) |
void |
setStartDate(String startDate) |
void |
setUnit(Schedule.UnitEnum unit) |
Schedule |
startDate(String startDate) |
String |
toString() |
Schedule |
unit(Schedule.UnitEnum unit) |
public Integer getPeriod()
public void setPeriod(Integer period)
public Schedule unit(Schedule.UnitEnum unit)
public Schedule.UnitEnum getUnit()
public void setUnit(Schedule.UnitEnum unit)
public Integer getDueDate()
public void setDueDate(Integer dueDate)
public Schedule dueDateType(Schedule.DueDateTypeEnum dueDateType)
public Schedule.DueDateTypeEnum getDueDateType()
public void setDueDateType(Schedule.DueDateTypeEnum dueDateType)
public String getStartDate()
public org.threeten.bp.LocalDate getStartDateAsDate()
public void setStartDate(String startDate)
public void setStartDate(org.threeten.bp.LocalDate startDate)
public String getNextScheduledDate()
public org.threeten.bp.LocalDate getNextScheduledDateAsDate()
public void setNextScheduledDate(String nextScheduledDate)
public void setNextScheduledDate(org.threeten.bp.LocalDate nextScheduledDate)
public String getEndDate()
public org.threeten.bp.LocalDate getEndDateAsDate()
public void setEndDate(String endDate)
public void setEndDate(org.threeten.bp.LocalDate endDate)
Copyright © 2020. All rights reserved.