public class Invoice extends BusinessObject
BusinessObject.EnumResult, BusinessObject.EnumUpdateMethod
Modifier and Type | Field and Description |
---|---|
static String |
ELEMENT_PRICING |
ATTR_BUSINESSID, ATTR_BUSINESSREFID, ATTR_CURRENCY, ATTR_EXPIRES
ATTR_JOBIDREF, log, theElement
Constructor and Description |
---|
Invoice(org.cip4.jdflib.core.KElement theElement) |
Modifier and Type | Method and Description |
---|---|
void |
appendXJDF(org.cip4.jdflib.extensions.XJDFHelper xjdf)
append an XJDF - retain any previous occurences
|
void |
cleanUp()
generic cleanup routine
|
MasterContract |
getCreateMasterContract(String contractID)
get or create MasterContract element
|
Pricing |
getCreatePricing()
create pricing element
|
String |
getCurrency()
get currency value
|
org.cip4.jdflib.util.JDFDate |
getDueDate()
get expires value
|
org.cip4.jdflib.util.JDFDate |
getExpires()
Deprecated.
use getDueDate
|
MasterContract |
getMasterContract()
get the existing MasterContract element
|
Pricing |
getPricing()
get pricing element
|
void |
setCurrency(String currency)
set currency value
|
void |
setDueDate(int days)
set the expires dates
|
void |
setDueDate(org.cip4.jdflib.util.JDFDate expires)
set expires value
|
void |
setExpires(org.cip4.jdflib.util.JDFDate expires)
Deprecated.
use setDueDate
|
getBusinessID, getBusinessRefID, getCreateJDFRoot, getCustomerProjectID, getDescriptiveName, getRequest, init, setBusinessID, setBusinessRefID, setCustomerProjectID, setDescriptiveName, setRef
appendElement, appendXJDFElement, equals, getAttribute, getAttribute, getAttributeMap, getBoolAttribute, getComment, getCreateElement, getCreateElement, getCreateXJDFElement, getCreateXPathElement, getElement, getElement, getElements, getLocalName, getNodeName, getPrintTalk, getRealAttribute, getRoot, getTElem, getXJDFElement, getXPathAttribute, getXPathElement, hashCode, numElements, setAttribute, setAttribute, setAttribute, setAttribute, setComment, setRoot, setTElem, setVAttribute, setXPathAttribute, setXPathValue, toString, toXML
public static final String ELEMENT_PRICING
public Invoice(org.cip4.jdflib.core.KElement theElement)
theElement
- public MasterContract getCreateMasterContract(String contractID)
contractID
- the new contractIDpublic MasterContract getMasterContract()
public String getCurrency()
public void setCurrency(String currency)
currency
- public void appendXJDF(org.cip4.jdflib.extensions.XJDFHelper xjdf)
AbstractPrintTalk
xjdf
- the xjdf to setAbstractPrintTalk.appendXJDF(org.cip4.jdflib.extensions.XJDFHelper)
@Deprecated public org.cip4.jdflib.util.JDFDate getExpires()
public org.cip4.jdflib.util.JDFDate getDueDate()
public void setDueDate(org.cip4.jdflib.util.JDFDate expires)
expires
- @Deprecated public void setExpires(org.cip4.jdflib.util.JDFDate expires)
expires
- public void setDueDate(int days)
i
- public Pricing getCreatePricing()
public Pricing getPricing()
public void cleanUp()
AbstractPrintTalk
cleanUp
in class AbstractPrintTalk
AbstractPrintTalk.cleanUp()
Copyright © 2019. All rights reserved.