public class ItemPriceInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Modifier | Constructor and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
MonetaryAmount | getBasePrice()
Get base price
|
java.lang.Long | getCatalogEntryId()
Get catalog entry ID
|
OfferAccessBean | getOffer()
Get Offer access bean
|
java.lang.Long | getOfferId()
Get offer ID
|
java.lang.Long[] | getOfferIds()
Get offer IDs
|
protected java.util.Hashtable | getOffersWithAdjPrice()
Get adjusted prices
|
QuantityAmount | getQuantity()
Get quantity amount
|
protected QuantityAmount | getQuantityAmount()
Returns the quantity amount of the input catalog entry for price.
|
java.lang.Long | getTcId()
Get term condition ID
|
protected java.lang.Long[] | getTcIds()
Get term condition IDs
|
protected MonetaryAmount[] | getTradingBasePrices()
Get adjusted prices
|
java.lang.Long | getTradingId()
Get Trading ID
|
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
|
java.lang.Long[] | getTradingTcIds()
Get Term condition IDs
|
protected MonetaryAmount[] | getTradingUnitPrices()
Get Monetary amount for all the tradings
|
MonetaryAmount | getUnitPrice()
Get monetary amount of the price
|
void | initOutput(int aSize)
Initialize the variables
|
void | setBasePrice(MonetaryAmount aPrice)
Set base price
|
protected void | setCatalogEntryId(java.lang.Long anCatalogEntryId)
Set catalog entry ID
|
void | setOffer(OfferAccessBean aOffer)
Set offer access bean
|
void | setOfferId(java.lang.Long aOfferId)
Set Offer ID
|
protected void | setOfferIds(java.lang.Long anOfferId)
Set one Offer ID
|
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
|
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
|
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
|
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
|
void | setUnitPrice(MonetaryAmount aPrice)
Set price
|
public static final java.lang.String COPYRIGHT
public 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
public MonetaryAmount getBasePrice()
public java.lang.Long getCatalogEntryId()
public OfferAccessBean getOffer()
public java.lang.Long getOfferId()
public java.lang.Long[] getOfferIds()
protected java.util.Hashtable getOffersWithAdjPrice()
public QuantityAmount getQuantity()
public java.lang.Long getTcId()
protected java.lang.Long[] getTcIds()
protected MonetaryAmount[] getTradingBasePrices()
public java.lang.Long getTradingId()
public java.lang.Long[] getTradingIds()
protected java.lang.Long[] getTradingOfferIds()
protected OfferAccessBean[] getTradingOffers()
protected java.util.Hashtable getTradingOffersWithAdjPrice(int aIndex)
public java.lang.Long[] getTradingTcIds()
protected MonetaryAmount[] getTradingUnitPrices()
public MonetaryAmount getUnitPrice()
public void initOutput(int aSize)
public void setBasePrice(MonetaryAmount aPrice)
protected void setCatalogEntryId(java.lang.Long anCatalogEntryId)
public void setOffer(OfferAccessBean aOffer)
public void setOfferId(java.lang.Long aOfferId)
public 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)
public void setTcId(java.lang.Long aTcId)
protected void setTcIds(java.lang.Long[] aTcIds)
protected void setTradingBasePrice(MonetaryAmount aPrice, int aIndex)
public void setTradingId(java.lang.Long anTradingId)
public void setTradingIds(java.lang.Long[] aTradingIds)
public 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)
public void setUnitPrice(MonetaryAmount aPrice)
protected QuantityAmount getQuantityAmount() throws ECSystemException