public class StockLevelRequest extends BusinessObject
Modifier and Type | Class and Description |
---|---|
static class |
StockLevelRequest.EnumAvailability |
BusinessObject.EnumResult, BusinessObject.EnumUpdateMethod
Modifier and Type | Field and Description |
---|---|
static String |
ATTR_AVAILABILITY |
static String |
ATTR_DISPLAYPRICE |
ATTR_BUSINESSID, ATTR_BUSINESSREFID, ATTR_CURRENCY, ATTR_EXPIRES
ATTR_JOBIDREF, log, theElement
Constructor and Description |
---|
StockLevelRequest(org.cip4.jdflib.core.KElement theElement) |
Modifier and Type | Method and Description |
---|---|
void |
addAvailability(StockLevelRequest.EnumAvailability availability)
set availability value
|
List<StockLevelRequest.EnumAvailability> |
getAvailability()
get displayPrice value
|
MasterContract |
getCreateMasterContract(String contractID)
get or create MasterContract element
|
String |
getCurrency()
get currency value
|
boolean |
getDisplayPrice()
get displayPrice value
|
String |
getExternalID() |
MasterContract |
getMasterContract()
get the existing MasterContract element
|
String |
getProductID()
Deprecated.
use getExternalID
|
void |
setAvailability(List<StockLevelRequest.EnumAvailability> availability)
set currency value
|
void |
setCurrency(String currency)
set currency value
|
void |
setDisplayPrice(boolean displayPrice)
set displayPrice value
|
void |
setExternalID(String productID) |
void |
setProductID(String productID)
Deprecated.
use setExteralID
|
getBusinessID, getBusinessRefID, getCreateJDFRoot, getCustomerProjectID, getDescriptiveName, getRequest, init, setBusinessID, setBusinessRefID, setCustomerProjectID, setDescriptiveName, setRef
appendElement, appendXJDFElement, cleanUp, 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 ATTR_AVAILABILITY
public static final String ATTR_DISPLAYPRICE
public StockLevelRequest(org.cip4.jdflib.core.KElement theElement)
theElement
- public MasterContract getCreateMasterContract(String contractID)
contractID
- the new contractIDpublic MasterContract getMasterContract()
@Deprecated public String getProductID()
@Deprecated public void setProductID(String productID)
productID
- public void setExternalID(String productID)
productID
- public String getExternalID()
public String getCurrency()
public void setCurrency(String currency)
currency
- public boolean getDisplayPrice()
public void setDisplayPrice(boolean displayPrice)
displayPrice
- public List<StockLevelRequest.EnumAvailability> getAvailability()
public void setAvailability(List<StockLevelRequest.EnumAvailability> availability)
availability
- public void addAvailability(StockLevelRequest.EnumAvailability availability)
availability
- Copyright © 2019. All rights reserved.