java.lang.Objectcom.ibm.commerce.price.commands.ItemPriceInfo
Internal Pricing info stored for items.
Field Summary | |
static java.lang.String | COPYRIGHT IBM copyright notice field. |
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() Get base price |
protected java.lang.Long | getCatalogEntryId() Get catalog entry ID |
protected OfferAccessBean | getOffer() Get Offer access bean |
protected java.lang.Long | getOfferId() Get offer ID |
protected java.lang.Long[] | getOfferIds() Get offer IDs |
protected java.util.Hashtable | getOffersWithAdjPrice() Get adjusted prices |
protected QuantityAmount | getQuantity() Get quantity amount |
protected QuantityAmount | getQuantityAmount() Returns the quantity amount of the input catalog entry for price. |
protected java.lang.Long | getTcId() Get term condition ID |
protected java.lang.Long[] | getTcIds() Get term condition IDs |
protected MonetaryAmount[] | getTradingBasePrices() Get adjusted prices |
protected java.lang.Long | getTradingId() Get Trading ID |
protected java.lang.Long[] | getTradingIds() Get Trading IDs |
protected java.lang.Long[] | getTradingOfferIds() Get Offer IDs for all Trading IDs |
protected OfferAccessBean[] | getTradingOffers() Get Offer access beans |
protected java.util.Hashtable | getTradingOffersWithAdjPrice(int aIndex) Get offers with the adjusted prices |
protected java.lang.Long[] | getTradingTcIds() Get Term condition IDs |
protected MonetaryAmount[] | getTradingUnitPrices() Get Monetary amount for all the tradings |
protected MonetaryAmount | getUnitPrice() Get monetary amount of the price |
protected void | initOutput(int aSize) Initialize the variables |
protected void | setBasePrice(MonetaryAmount aPrice) Set base price |
protected void | setCatalogEntryId(java.lang.Long anCatalogEntryId) Set catalog entry ID |
protected void | setOffer(OfferAccessBean aOffer) Set offer access bean |
protected void | setOfferId(java.lang.Long aOfferId) Set Offer ID |
protected void | setOfferIds(java.lang.Long anOfferId) Set one Offer ID |
protected void | setOfferIds(java.lang.Long[] aOfferIds) Set all Offer IDs |
protected void | setOffersWithAdjPrice(java.util.Hashtable aOffersWithAdjPrice) Set Offers with adjusted prices |
protected void | setQuantity(QuantityAmount aQuantity) Set quantity of the product |
protected void | setTcId(java.lang.Long aTcId) Set term condition ID |
protected void | setTcIds(java.lang.Long[] aTcIds) Set term condition IDs |
protected void | setTradingBasePrice(MonetaryAmount aPrice, int aIndex) Set the price for the assigned index |
protected void | setTradingId(java.lang.Long anTradingId) Set trading ID |
protected void | setTradingIds(java.lang.Long anTradingId) Set one trading ID |
protected void | setTradingIds(java.lang.Long[] aTradingIds) Set trading IDs |
protected void | setTradingOffer(OfferAccessBean aOffer, int aIndex) Set OfferAccessBean for index trading |
protected void | setTradingOfferId(java.lang.Long aOfferId, int aIndex) Set Offer ID for index trading |
protected void | setTradingOffersWithAdjPrice(java.util.Hashtable aTradingOffersWithAdjPrice, int aIndex) Set Offers with the adjusted prices |
protected void | setTradingTcId(java.lang.Long aTcId, int aIndex) Set Term Condition ID for the assigned index |
protected void | setTradingUnitPrice(MonetaryAmount aPrice, int aIndex) Set prices for the index trading |
protected void | setUnitPrice(MonetaryAmount aPrice) Set price |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String COPYRIGHT
Constructor Detail |
protected ItemPriceInfo(java.lang.Long anCatalogEntryId, QuantityAmount aQuantity) throws ECException
protected ItemPriceInfo(java.lang.Long anCatalogEntryId, QuantityAmount aQuantity, java.lang.Long[] aTradingIds, java.lang.Long[] aOfferIds) throws ECException
Method Detail |
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 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[] aOfferIds)
protected void setOfferIds(java.lang.Long anOfferId)
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[] aTradingIds)
protected void setTradingIds(java.lang.Long anTradingId)
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)
protected QuantityAmount getQuantityAmount() throws ECSystemException
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.