public class Header extends java.lang.Object
| Constructor and Description |
|---|
Header() |
| Modifier and Type | Method and Description |
|---|---|
Header |
addName(java.lang.String additionalName)
|
Header |
addNote(Note note)
|
DocumentNameCode |
getCode()
|
java.lang.String |
getInvoiceNumber()
|
DateTime |
getIssued()
|
java.util.List<java.lang.String> |
getName()
|
java.util.List<Note> |
getNotes()
|
Header |
setCode(DocumentNameCode code)
|
Header |
setInvoiceNumber(java.lang.String invoiceNumber)
|
Header |
setIssued(DateTime issued)
|
public Header()
public Header addName(java.lang.String additionalName)
Adds a free text invoice name.
BASIC
invoice, credit advice, debit note, pro forma invoice
additionalName - the additional invoice namegetName()public Header addNote(Note note)
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
note - the notepublic DocumentNameCode getCode()
Gets UNCL 1001 Document Name Code.
BASIC
380, 381, 383, 389, 261
public java.lang.String getInvoiceNumber()
Gets the invoice number.
BASIC
2012-12345
public DateTime getIssued()
Gets the invoice issue date time.
BASIC
public java.util.List<java.lang.String> getName()
Gets the free text invoice name.
BASIC
invoice, credit advice, debit note, pro forma invoice
public java.util.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 Header setCode(DocumentNameCode code)
Sets the UNCL 1001 Document Name Code.
BASIC
380, 381, 383, 389, 261
code - the new document name codepublic Header setInvoiceNumber(java.lang.String invoiceNumber)
Sets the invoice number.
BASIC
2012-12345
invoiceNumber - the invoice numberCopyright © 2014 konik.io. All Rights Reserved.