public class Invoice extends java.lang.Object implements java.io.Serializable
Constructor and Description |
---|
Invoice(ConformanceLevel profile)
Instantiates a new invoice with a profile.
|
Modifier and Type | Method and Description |
---|---|
Context |
getContext()
Gets the exchanged document context.
|
Header |
getHeader()
Gets the document header
|
Trade |
getTrade()
Gets the trade transaction.
|
Invoice |
setContext(Context context)
Sets the exchanged document context.
|
Invoice |
setHeader(Header header)
Sets the header.
|
Invoice |
setTrade(Trade trade)
Sets the trade transaction.
|
public Invoice(ConformanceLevel profile)
Instantiates a new invoice with a profile.
profile
- the profile@NotNull public Context getContext()
Gets the exchanged document context.
@NotNull public Header getHeader()
Gets the document header
public Invoice setContext(Context context)
Sets the exchanged document context.
context
- the new exchanged document contextpublic Invoice setHeader(Header header)
Sets the header.
header
- the new exchange document headerCopyright © 2014-2018 Konik.io. All Rights Reserved.