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.
 
Method Summary
protected  MonetaryAmount getBasePrice()
           
protected  java.lang.Long getCatalogEntryId()
           
protected  OfferAccessBean getOffer()
           
protected  java.lang.Long getOfferId()
           
protected  java.lang.Long[] getOfferIds()
           
protected  java.util.Hashtable getOffersWithAdjPrice()
           
protected  QuantityAmount getQuantity()
           
protected  QuantityAmount getQuantityAmount()
          Returns the quantity amount of the input catalog entry for price.
protected  java.lang.Long getTcId()
           
protected  java.lang.Long[] getTcIds()
           
protected  MonetaryAmount[] getTradingBasePrices()
           
protected  java.lang.Long getTradingId()
           
protected  java.lang.Long[] getTradingIds()
           
protected  java.lang.Long[] getTradingOfferIds()
           
protected  OfferAccessBean[] getTradingOffers()
           
protected  java.util.Hashtable getTradingOffersWithAdjPrice(int aIndex)
           
protected  java.lang.Long[] getTradingTcIds()
           
protected  MonetaryAmount[] getTradingUnitPrices()
           
protected  MonetaryAmount getUnitPrice()
           
protected  void initOutput(int aSize)
           
protected  void setBasePrice(MonetaryAmount aPrice)
           
protected  void setCatalogEntryId(java.lang.Long anCatalogEntryId)
           
protected  void setOffer(OfferAccessBean aOffer)
           
protected  void setOfferId(java.lang.Long aOfferId)
           
protected  void setOfferIds(java.lang.Long anOfferId)
           
protected  void setOfferIds(java.lang.Long[] aOfferIds)
           
protected  void setOffersWithAdjPrice(java.util.Hashtable aOffersWithAdjPrice)
           
protected  void setQuantity(QuantityAmount aQuantity)
           
protected  void setTcId(java.lang.Long aTcId)
           
protected  void setTcIds(java.lang.Long[] aTcIds)
           
protected  void setTradingBasePrice(MonetaryAmount aPrice, int aIndex)
           
protected  void setTradingId(java.lang.Long anTradingId)
           
protected  void setTradingIds(java.lang.Long anTradingId)
           
protected  void setTradingIds(java.lang.Long[] aTradingIds)
           
protected  void setTradingOffer(OfferAccessBean aOffer, int aIndex)
           
protected  void setTradingOfferId(java.lang.Long aOfferId, int aIndex)
           
protected  void setTradingOffersWithAdjPrice(java.util.Hashtable aTradingOffersWithAdjPrice, int aIndex)
           
protected  void setTradingTcId(java.lang.Long aTcId, int aIndex)
           
protected  void setTradingUnitPrice(MonetaryAmount aPrice, int aIndex)
           
protected  void setUnitPrice(MonetaryAmount aPrice)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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.
Method Detail

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)