public class CatEntryPrices
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM Copyright.
|
Constructor and Description |
---|
CatEntryPrices(java.lang.Long anCatalogEntryId, QuantityAmount aQuantity)
Constructor.
|
CatEntryPrices(java.lang.Long anCatalogEntryId, QuantityAmount aQuantity, java.lang.Long[] aTradingIds, java.lang.Long[] aOfferIds)
Constructor.
|
CatEntryPrices(OrderItemAccessBean aOrderItemAB)
Constructor.
|
CatEntryPrices(OrderItemAccessBean aOrderItemAB, java.lang.Long[] aTradingIds, java.lang.Long[] aOfferIds)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Long[] | getAllTradingIds()
Returns the trading IDs used to lookup the price of the catalog entry.
|
MonetaryAmount | getBasePrice()
Returns the base price of the catalog entry.
|
java.lang.Long | getCatalogEntryId()
Returns the catalog entry ID that is priced.
|
java.util.Map | getCustomData()
get the customData for the catalog entry
|
OfferAccessBean | getOffer()
Returns the offer access bean that represents the offer used to price the catalog entry.
|
java.lang.Long | getOfferId()
Returns the offer ID of the offer used to price this catalog entry.
|
java.lang.Long[] | getOfferIds()
Get the offer IDs used to price the catalog entry under each trading agreement.
|
OrderItemAccessBean | getOrderItem()
Returns the order item access bean that represents the priced order item.
|
java.lang.Long | getOrderItemId()
Returns the order item ID used to price the catalog entry.
|
QuantityAmount | getQuantity()
Get Quantity for this catalog entry
|
java.lang.Long | getTcId()
Get TermCondition ID
|
MonetaryAmount | getTradingBasePrice(int aIndex)
Returns the price of this catalog entry under a trading agreement.
|
MonetaryAmount[] | getTradingBasePrices()
Returns an array representing the price of the catalog entry from each of the trading agreements passed through setTradingIds().
|
java.lang.Long | getTradingId()
Returns the ID of the trading agreement used to price the catalog entry.
|
java.lang.Long[] | getTradingIds()
Returns an array of the trading agreement IDs used to price the catalog entry.
|
OfferAccessBean | getTradingOffer(int aIndex)
Returns the offer access bean representing the offer used to price the catalog entry under a trading agreement.
|
java.lang.Long | getTradingOfferId(int aIndex)
Returns the ID of the offer used to price the catalog entry under a trading agreement.
|
java.lang.Long[] | getTradingOfferIds()
Returns the IDs of the offers used to price the catalog entry under each trading agreement.
|
OfferAccessBean[] | getTradingOffers()
Returns the offer access beans used to price the catalog entry under each trading agreement.
|
java.lang.Long | getTradingTcId(int aIndex)
Returns the term condition ID under which the winning offer was found under a trading agreement.
|
java.lang.Long[] | getTradingTcIds()
Returns the term condition IDs under which the winning offer for each trading agreement was found.
|
MonetaryAmount | getTradingUnitPrice(int aIndex)
Returns the price of the catalog entry under a trading agreement as a MonetaryAmount object.
|
MonetaryAmount[] | getTradingUnitPrices()
Returns an array of MonetaryAmount prices of the catalog entry under the trading agreements.
|
MonetaryAmount | getUnitPrice()
Returns the price of the catalog entry as a MonetaryAmount object.
|
void | initOutput(int aSize)
Initialize the variables for output
|
void | refresh()
Refreshes the values returned by the getter methods.
|
void | setAllTradingIds(java.lang.Long[] aTradingIds)
Sets the trading IDs to use for pricing the catalog entry.
|
void | setBasePrice(MonetaryAmount aPrice)
Sets the base price for the catalog entry.
|
void | setCatalogEntryId(java.lang.Long anCatalogEntryId)
Sets the catalog entry ID to price.
|
void | setCustomData(java.util.Map aCustomData)
set the customData for the catalog entry
|
void | setOffer(OfferAccessBean aOffer)
Set the offer used to price the catalog entry.
|
void | setOfferId(java.lang.Long aOfferId)
Set the offer used to price the catalog entry.
|
void | setOfferIds(java.lang.Long[] aOfferIds)
Set a set of offers
|
void | setOrderItem(OrderItemAccessBean aOrderItemAB)
Sets the order item of the catalog entry ID to price.
|
void | setOrderItemId(java.lang.Long anOrderItemId)
Set order item ID
|
void | setQuantity(QuantityAmount aQuantity)
Sets the quantity of the catalog entry ID to price.
|
void | setTcId(java.lang.Long aTcId)
Sets the ID of the term condition used to price the catalog entry.
|
void | setTradingBasePrices(MonetaryAmount[] aPrices)
Set the prices of the catalog entry for the trading agreements.
|
void | setTradingId(java.lang.Long anTradingId)
Sets the trading ID used to price the catalog entry.
|
void | setTradingIds(java.lang.Long[] aTradingIds)
Sets trading IDs used to price the catalog entry.
|
void | setTradingOfferIds(java.lang.Long[] aOfferIds)
Set offer IDs to use to price the catalog entry.
|
void | setTradingOffers(OfferAccessBean[] aOffers)
Sets the offer access beans used to price the catalog entry under each trading agreement.
|
void | setTradingTcIds(java.lang.Long[] aTcIds)
Sets the term condition IDs used to price the catalog entry under the trading agreements.
|
void | setTradingUnitPrices(MonetaryAmount[] aPrices, StoreAccessBean aStoreAB)
Sets the prices for the catalog entry in each trading agreement.
|
void | setUnitPrice(MonetaryAmount aPrice)
Sets the price for the catalog entry.
|
public static final java.lang.String COPYRIGHT
public CatEntryPrices(OrderItemAccessBean aOrderItemAB) throws ECException
public CatEntryPrices(OrderItemAccessBean aOrderItemAB, java.lang.Long[] aTradingIds, java.lang.Long[] aOfferIds) throws ECException
public CatEntryPrices(java.lang.Long anCatalogEntryId, QuantityAmount aQuantity) throws ECException
public CatEntryPrices(java.lang.Long anCatalogEntryId, QuantityAmount aQuantity, java.lang.Long[] aTradingIds, java.lang.Long[] aOfferIds) throws ECException
public java.lang.Long[] getAllTradingIds()
public MonetaryAmount getBasePrice()
public java.lang.Long getCatalogEntryId()
public OfferAccessBean getOffer()
public java.lang.Long getOfferId()
public java.lang.Long[] getOfferIds()
public OrderItemAccessBean getOrderItem()
public java.lang.Long getOrderItemId()
public QuantityAmount getQuantity()
public java.lang.Long getTcId()
public MonetaryAmount getTradingBasePrice(int aIndex)
public MonetaryAmount[] getTradingBasePrices()
public java.lang.Long getTradingId()
public java.lang.Long[] getTradingIds()
public OfferAccessBean getTradingOffer(int aIndex)
public java.lang.Long getTradingOfferId(int aIndex)
public java.lang.Long[] getTradingOfferIds()
public OfferAccessBean[] getTradingOffers()
public java.lang.Long getTradingTcId(int aIndex)
public java.lang.Long[] getTradingTcIds()
public MonetaryAmount getTradingUnitPrice(int aIndex)
public MonetaryAmount[] getTradingUnitPrices()
public MonetaryAmount getUnitPrice()
public void initOutput(int aSize)
public void refresh() throws ECException
public void setAllTradingIds(java.lang.Long[] aTradingIds)
public void setBasePrice(MonetaryAmount aPrice)
public 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)
public void setOrderItem(OrderItemAccessBean aOrderItemAB)
public void setOrderItemId(java.lang.Long anOrderItemId)
public void setQuantity(QuantityAmount aQuantity)
public void setTcId(java.lang.Long aTcId)
public void setTradingBasePrices(MonetaryAmount[] aPrices)
public void setTradingId(java.lang.Long anTradingId)
public void setTradingIds(java.lang.Long[] aTradingIds)
public void setTradingOfferIds(java.lang.Long[] aOfferIds)
public void setTradingOffers(OfferAccessBean[] aOffers)
public void setTradingTcIds(java.lang.Long[] aTcIds)
public void setTradingUnitPrices(MonetaryAmount[] aPrices, StoreAccessBean aStoreAB) throws ECException
public void setUnitPrice(MonetaryAmount aPrice)
public java.util.Map getCustomData()
public void setCustomData(java.util.Map aCustomData)