|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorderprocessing.BillingTerms
This class represents various billing terms in use by the firm it exports constant terms objects for all allowable terms.
Method Summary | |
java.lang.String |
code()
Retrieve a string representation of these terms |
int |
days()
Retrieve the number of days in these terms, usually 10 or 30 |
void |
display()
Display this billing terms info on standard output |
CalculationCalendar |
dueDate(CalculationCalendar invoiceDate)
return the due date for payment on the associated order given the invoice date. |
boolean |
equals(java.lang.Object other)
|
static BillingTerms |
get(java.lang.String code)
Retrieve a terms object from its string representation "net 30", "net 10" and "eom 10" are recognized. |
int |
hashCode()
|
int |
terms()
retrieve the terms code for these billing terms NET = 0 EOM = 1 |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
public int terms()
public int days()
public java.lang.String code()
public static BillingTerms get(java.lang.String code)
code
- the string representation of a billing terms
public CalculationCalendar dueDate(CalculationCalendar invoiceDate)
invoiceDate
- the date that the order was invoiced.
public java.lang.String toString()
public boolean equals(java.lang.Object other)
public int hashCode()
public void display()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |