| Constructor and Description |
|---|
Header() |
| Modifier and Type | Method and Description |
|---|---|
void |
addLanguage(com.neovisionaries.i18n.LanguageCode language)
|
Header |
addNote(Note... additionalNote)
|
DocumentCode |
getCode()
|
ZfDate |
getContractualDueDate()
|
String |
getInvoiceNumber()
|
ZfDate |
getIssued()
|
List<com.neovisionaries.i18n.LanguageCode> |
getLanguages()
|
String |
getName()
|
List<Note> |
getNotes()
|
boolean |
isCopy()
|
Header |
setCode(DocumentCode code)
|
Header |
setContractualDueDate(ZfDate contractualDueDate)
|
void |
setCopy(boolean copy)
|
Header |
setInvoiceNumber(String invoiceNumber)
|
Header |
setIssued(ZfDate issued)
|
Header |
setName(String name)
|
public Header()
public void addLanguage(com.neovisionaries.i18n.LanguageCode language)
Adds the language.
language - the languagepublic Header addNote(Note... additionalNote)
Adds a invoice header note.
Note#getContent(): BASIC
Note.getSubjectCode(): COMFORT
note content: Invoice like agreed on the telephone with Mr.X. -
note subject code as UNCL 4451: AAK
additionalNote - the additional notepublic DocumentCode getCode()
Gets UNCL 1001 Document Name Code.
BASIC
380, 381, 383, 389, 261
public ZfDate getContractualDueDate()
Gets the contractual due date.
public String getInvoiceNumber()
Gets the invoice number.
BASIC
2012-12345
public ZfDate getIssued()
Gets the invoice issue date time.
BASIC
public List<com.neovisionaries.i18n.LanguageCode> getLanguages()
Gets the languages.
public String getName()
Gets the free text invoice name.
BASIC
invoice, credit advice, debit note, pro forma invoice
public List<Note> getNotes()
Gets the invoice header notes.
Note#getContent(): BASIC
Note.getSubjectCode(): COMFORT
note content: Invoice like agreed on the telephone with Mr.X.
note content: Invoice like agreed on the telephone with Mr.X. -
note subject code as UNCL 4451: AAK
public boolean isCopy()
Checks if is copy.
public Header setCode(DocumentCode code)
Sets the UNCL 1001 Document Name Code.
BASIC
380, 381, 383, 389, 261
code - the new document name codepublic Header setContractualDueDate(ZfDate contractualDueDate)
Sets the contractual due date.
contractualDueDate - the contractual due datepublic void setCopy(boolean copy)
Sets the copy.
copy - the new copypublic Header setInvoiceNumber(String invoiceNumber)
Sets the invoice number.
BASIC
2012-12345
invoiceNumber - the invoice numberpublic Header setIssued(ZfDate issued)
Sets the invoice issue date time.
BASIC
issued - the new issue date timeCopyright © 2014 Konik.io. All Rights Reserved.