public class ItemPriceInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
ItemPriceInfo(java.lang.Long anCatalogEntryId,
QuantityAmount aQuantity)
Item constructor comment.
|
Modifier and Type | Method and Description |
---|---|
MonetaryAmount |
getBasePrice()
Get base price
|
java.lang.Long |
getCatalogEntryId()
Get catalog entry ID
|
com.ibm.commerce.order.objects.OfferAccessBean |
getOffer()
Get Offer access bean
|
java.lang.Long |
getOfferId()
Get offer ID
|
java.lang.Long[] |
getOfferIds()
Get offer IDs
|
QuantityAmount |
getQuantity()
Get quantity amount
|
java.lang.Long |
getTcId()
Get term condition ID
|
java.lang.Long |
getTradingId()
Get Trading ID
|
java.lang.Long[] |
getTradingIds()
Get Trading IDs
|
java.lang.Long[] |
getTradingTcIds()
Get Term condition IDs
|
MonetaryAmount |
getUnitPrice()
Get monetary amount of the price
|
void |
initOutput(int aSize)
Initialize the variables
|
void |
setBasePrice(MonetaryAmount aPrice)
Set base price
|
void |
setOffer(com.ibm.commerce.order.objects.OfferAccessBean aOffer)
Set offer access bean
|
void |
setOfferId(java.lang.Long aOfferId)
Set Offer ID
|
void |
setOfferIds(java.lang.Long[] aOfferIds)
Set all Offer IDs
|
void |
setTcId(java.lang.Long aTcId)
Set term condition ID
|
void |
setTradingId(java.lang.Long anTradingId)
Set trading ID
|
void |
setTradingIds(java.lang.Long anTradingId)
Set one trading ID
|
void |
setTradingIds(java.lang.Long[] aTradingIds)
Set trading IDs
|
void |
setUnitPrice(MonetaryAmount aPrice)
Set price
|
public static final java.lang.String COPYRIGHT
public ItemPriceInfo(java.lang.Long anCatalogEntryId, QuantityAmount aQuantity) throws com.ibm.commerce.exception.ECException
anCatalogEntryId
- catalog entry IDaQuantity
- the quantity with the catalog entrycom.ibm.commerce.exception.ECException
public MonetaryAmount getBasePrice()
public java.lang.Long getCatalogEntryId()
public com.ibm.commerce.order.objects.OfferAccessBean getOffer()
public java.lang.Long getOfferId()
public java.lang.Long[] getOfferIds()
public QuantityAmount getQuantity()
public java.lang.Long getTcId()
public java.lang.Long getTradingId()
public java.lang.Long[] getTradingIds()
public java.lang.Long[] getTradingTcIds()
public MonetaryAmount getUnitPrice()
public void initOutput(int aSize)
aSize
- the size of the variable arrayspublic void setBasePrice(MonetaryAmount aPrice)
aPrice
- MonetaryAmount of the pricepublic void setOffer(com.ibm.commerce.order.objects.OfferAccessBean aOffer)
aOffer
- an OfferAccessBeanpublic void setOfferId(java.lang.Long aOfferId)
aOfferId
- the offer IDpublic void setOfferIds(java.lang.Long[] aOfferIds)
aOfferIds
- a set of offer IDspublic void setTcId(java.lang.Long aTcId)
aTcId
- the term condition IDpublic void setTradingId(java.lang.Long anTradingId)
anTradingId
- the trading IDpublic void setTradingIds(java.lang.Long anTradingId)
aTradingIds
- the Trading IDspublic void setTradingIds(java.lang.Long[] aTradingIds)
aTradingIds
- the Trading IDspublic void setUnitPrice(MonetaryAmount aPrice)
aPrice
- the price for the product