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(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)
|
Schedule.DueDateTypeEnum |
getDueDateType()
the payment terms
|
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)
|
Schedule.UnitEnum |
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(Schedule.DueDateTypeEnum 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(Schedule.UnitEnum unit) |
Schedule |
startDate(org.threeten.bp.LocalDate 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 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 © 2020. All rights reserved.