public class OrderItem extends Object
Constructor and Description |
---|
OrderItem() |
Modifier and Type | Method and Description |
---|---|
BigDecimal |
getDiscount()
Retrieves the discount of this line item
|
Object |
getOrderItemDataAttributeValue(String attributeURI)
To get the value of a orderItem data attribute by attribute URI.
|
String |
getOrderItemRelationAttributeErpId(String attributeURI)
To get the ERPID of a orderItem relation attribute by attribute URI.
|
String |
getOrderItemRelationAttributeObjectId(String attributeURI)
To get the object Id of a orderItem relation attribute by attribute URI.
|
String |
getOrderItemRelationAttributeObjectName(String attributeURI)
To get the object name of a orderItem relation attribute by attribute
URI.
|
String |
getOrderItemRelationAttributeURI(String attributeURI)
To get the URI of a orderItem relation attribute by attribute URI.
|
String |
getOrderItemURI()
To get the URI of a orderItem
|
PriceItemData |
getPriceItemByTypeName(String name)
To get the price Item data by name.
|
PriceItemData |
getPriceItemByTypeUri(String uri)
To get the price Item data by price item type URI.
|
PriceItemData |
getPriceItemByUri(String uri)
To get the price Item data by price item URI.
|
List<PriceItemData> |
getPriceItemsByTypeName(String name)
To get all the price Item data by the name of the price item type.
|
List<PriceItemData> |
getPriceItemsByTypeUri(String uri)
To get all the price Item data by the URI of the price item type .
|
List<PriceItemData> |
getPriceItemsJustified(String justificationURI)
To get all justified price Item data.
|
String |
getProductErpId()
Retrieves the ERP ID of this line item
|
String |
getProductObjectName()
Retrieves the product name of this line item
|
String |
getProductTypeErpId()
Retrieves the product type ERPID of this line item
|
String |
getProductTypeURI()
Retrieves the product type URI of this line item
|
String |
getProductURI()
Retrieves the product URI of this line item
|
BigDecimal |
getQuantity()
Retrieves the quantity of this line item
|
String |
getSalesItemURI()
Retrieves the URI of linked salesitem of this order item
|
OrderItem |
setDataAttribute(String attributeURI,
Object value)
To set a value for the order item data attribute.
|
OrderItem |
setRelationAttribute(String attributeURI,
String valueURI)
To set a value for the order item relation attribute.
|
public BigDecimal getDiscount() throws IMCException
IMCException
- the platform exceptionpublic Object getOrderItemDataAttributeValue(String attributeURI) throws IMCException
attributeURI
- as String. The URI of the orderItem data attribute.IMCException
- the platform exceptionpublic String getOrderItemRelationAttributeErpId(String attributeURI) throws IMCException
attributeURI
- as String. The URI of the orderItem relation
attribute.IMCException
- the platform exceptionpublic String getOrderItemRelationAttributeObjectId(String attributeURI) throws IMCException
attributeURI
- as String. The URI of the orderItem relation
attribute.IMCException
- the platform exceptionpublic String getOrderItemRelationAttributeObjectName(String attributeURI) throws IMCException
attributeURI
- as String. The URI of the orderItem relation
attribute.IMCException
- the platform exceptionpublic String getOrderItemRelationAttributeURI(String attributeURI) throws IMCException
attributeURI
- as String. The URI of the orderItem relation
attribute.IMCException
- the platform exceptionpublic String getOrderItemURI()
public PriceItemData getPriceItemByTypeName(String name) throws IMCException
PriceItemData
name
- as String the name of the price item.PriceItemData
.IMCException
- the platform exceptionpublic PriceItemData getPriceItemByTypeUri(String uri) throws IMCException
PriceItemData
uri
- as String the uri of the price item type.PriceItemData
.IMCException
- the platform exceptionpublic PriceItemData getPriceItemByUri(String uri) throws IMCException
PriceItemData
uri
- as String the uri of the price item.PriceItemData
.IMCException
- the platform exceptionpublic List<PriceItemData> getPriceItemsByTypeName(String name) throws IMCException
PriceItemData
name
- as String the name of the price item type.PriceItemData
.IMCException
- the platform exceptionpublic List<PriceItemData> getPriceItemsByTypeUri(String uri) throws IMCException
PriceItemData
uri
- as String the URI of the price item type.PriceItemData
in ListIMCException
- the platform exceptionpublic List<PriceItemData> getPriceItemsJustified(String justificationURI) throws IMCException
PriceItemData
justificationURI
- as StringPriceItemData
in ListIMCException
- the platform exceptionpublic String getProductErpId()
public String getProductObjectName()
public String getProductTypeErpId() throws IMCException
IMCException
- the platform exceptionpublic String getProductTypeURI()
public String getProductURI()
public BigDecimal getQuantity() throws IMCException
IMCException
- the platform exceptionpublic String getSalesItemURI() throws IMCException
null
for commerce orderIMCException
- the platform exceptionpublic OrderItem setDataAttribute(String attributeURI, Object value) throws IMCException
attributeURI
- as String. The URI of the order item data attribute.value
- as Object. The value for the order item data attribute.OrderItem
IMCException
- the platform exceptionpublic OrderItem setRelationAttribute(String attributeURI, String valueURI) throws IMCException
attributeURI
- as String. The URI of the order item relation
attribute.valueURI
- as Object. The value for the order item relation
attribute.OrderItem
IMCException
- the platform exception