com.ibm.commerce.price.commands
Class ItemPriceInfo
java.lang.Object
|
+--com.ibm.commerce.price.commands.ItemPriceInfo
- public class ItemPriceInfo
- extends java.lang.Object
Internal Pricing info stored for items.
Constructor Summary |
protected |
ItemPriceInfo(java.lang.Long anCatalogEntryId,
QuantityAmount aQuantity)
Item constructor comment. |
protected |
ItemPriceInfo(java.lang.Long anCatalogEntryId,
QuantityAmount aQuantity,
java.lang.Long[] aTradingIds,
java.lang.Long[] aOfferIds)
Item constructor comment. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ItemPriceInfo
protected ItemPriceInfo(java.lang.Long anCatalogEntryId,
QuantityAmount aQuantity)
throws ECException
- Item constructor comment.
ItemPriceInfo
protected ItemPriceInfo(java.lang.Long anCatalogEntryId,
QuantityAmount aQuantity,
java.lang.Long[] aTradingIds,
java.lang.Long[] aOfferIds)
throws ECException
- Item constructor comment.
getBasePrice
protected MonetaryAmount getBasePrice()
getCatalogEntryId
protected java.lang.Long getCatalogEntryId()
getOffer
protected OfferAccessBean getOffer()
getOfferId
protected java.lang.Long getOfferId()
getOfferIds
protected java.lang.Long[] getOfferIds()
getOffersWithAdjPrice
protected java.util.Hashtable getOffersWithAdjPrice()
getQuantity
protected QuantityAmount getQuantity()
getQuantityAmount
protected QuantityAmount getQuantityAmount()
throws ECSystemException
- Returns the quantity amount of the input catalog entry for price.
If the quantity amount is not specified then the nominal quantity
(rounded up to the nearest multiple as specified in the quantityMultiple attribute)
of the catalog entry is assumed to be the requested quantity.
getTcId
protected java.lang.Long getTcId()
getTcIds
protected java.lang.Long[] getTcIds()
getTradingBasePrices
protected MonetaryAmount[] getTradingBasePrices()
getTradingId
protected java.lang.Long getTradingId()
getTradingIds
protected java.lang.Long[] getTradingIds()
getTradingOfferIds
protected java.lang.Long[] getTradingOfferIds()
getTradingOffers
protected OfferAccessBean[] getTradingOffers()
getTradingOffersWithAdjPrice
protected java.util.Hashtable getTradingOffersWithAdjPrice(int aIndex)
getTradingTcIds
protected java.lang.Long[] getTradingTcIds()
getTradingUnitPrices
protected MonetaryAmount[] getTradingUnitPrices()
getUnitPrice
protected MonetaryAmount getUnitPrice()
initOutput
protected void initOutput(int aSize)
setBasePrice
protected void setBasePrice(MonetaryAmount aPrice)
setCatalogEntryId
protected void setCatalogEntryId(java.lang.Long anCatalogEntryId)
setOffer
protected void setOffer(OfferAccessBean aOffer)
setOfferId
protected void setOfferId(java.lang.Long aOfferId)
setOfferIds
protected void setOfferIds(java.lang.Long anOfferId)
setOfferIds
protected void setOfferIds(java.lang.Long[] aOfferIds)
setOffersWithAdjPrice
protected void setOffersWithAdjPrice(java.util.Hashtable aOffersWithAdjPrice)
setQuantity
protected void setQuantity(QuantityAmount aQuantity)
setTcId
protected void setTcId(java.lang.Long aTcId)
setTcIds
protected void setTcIds(java.lang.Long[] aTcIds)
setTradingBasePrice
protected void setTradingBasePrice(MonetaryAmount aPrice,
int aIndex)
setTradingId
protected void setTradingId(java.lang.Long anTradingId)
setTradingIds
protected void setTradingIds(java.lang.Long anTradingId)
setTradingIds
protected void setTradingIds(java.lang.Long[] aTradingIds)
setTradingOffer
protected void setTradingOffer(OfferAccessBean aOffer,
int aIndex)
setTradingOfferId
protected void setTradingOfferId(java.lang.Long aOfferId,
int aIndex)
setTradingOffersWithAdjPrice
protected void setTradingOffersWithAdjPrice(java.util.Hashtable aTradingOffersWithAdjPrice,
int aIndex)
setTradingTcId
protected void setTradingTcId(java.lang.Long aTcId,
int aIndex)
setTradingUnitPrice
protected void setTradingUnitPrice(MonetaryAmount aPrice,
int aIndex)
setUnitPrice
protected void setUnitPrice(MonetaryAmount aPrice)