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