java.lang.Objectcom.ibm.commerce.price.commands.CatEntryPrices
Pricing info stored for input catalog entries.
Field Summary | |
static java.lang.String | COPYRIGHT The defautl name of this command. |
Constructor Summary | |
CatEntryPrices(java.lang.Long anCatalogEntryId, QuantityAmount aQuantity) Item constructor comment. |
|
CatEntryPrices(java.lang.Long anCatalogEntryId, QuantityAmount aQuantity, java.lang.Long[] aTradingIds, java.lang.Long[] aOfferIds) Item constructor comment. |
|
CatEntryPrices(OrderItemAccessBean aOrderItemAB) Item constructor comment. |
|
CatEntryPrices(OrderItemAccessBean aOrderItemAB, java.lang.Long[] aTradingIds, java.lang.Long[] aOfferIds) Item constructor comment. |
Method Summary | |
java.lang.Long[] | getAllTradingIds() Get all Trading IDs |
MonetaryAmount | getBasePrice() Get Base price |
java.lang.Long | getCatalogEntryId() Return catalog entry ID |
OfferAccessBean | getOffer() Get offer for this catalog entry |
java.lang.Long | getOfferId() Get offer for this catalog entry |
java.lang.Long[] | getOfferIds() Get offers for this catalog entry |
OrderItemAccessBean | getOrderItem() Get OrderItem accessbean |
java.lang.Long | getOrderItemId() Get OrderItem ID for this catalog entry |
QuantityAmount | getQuantity() Get Quantity for this catalog entry |
java.lang.Long | getTcId() Get TermCondition ID |
MonetaryAmount | getTradingBasePrice(int aIndex) Get price for this for this catalog entry |
MonetaryAmount[] | getTradingBasePrices() Get prices for this for this catalog entry |
java.lang.Long | getTradingId() Get Trading ID |
java.lang.Long[] | getTradingIds() Get Trading IDs |
OfferAccessBean | getTradingOffer(int aIndex) Get offer for tradings |
java.lang.Long | getTradingOfferId(int aIndex) Get offer for a trading ID |
java.lang.Long[] | getTradingOfferIds() Get offers |
OfferAccessBean[] | getTradingOffers() Get offers |
java.lang.Long | getTradingTcId(int aIndex) Get term condition ID |
java.lang.Long[] | getTradingTcIds() Get term condition IDs |
MonetaryAmount | getTradingUnitPrice(int aIndex) Get monetary amount for this product |
MonetaryAmount[] | getTradingUnitPrices() Get monetary amounts for this product |
MonetaryAmount | getUnitPrice() Get monetary amount for this product |
void | initOutput(int aSize) Initialize the variables for output |
void | refresh() Refresh the variables |
void | setAllTradingIds(java.lang.Long[] aTradingIds) Set all trading IDs |
void | setBasePrice(MonetaryAmount aPrice) Set base price |
void | setCatalogEntryId(java.lang.Long anCatalogEntryId) Set base price |
void | setOffer(OfferAccessBean aOffer) Set an offer |
void | setOfferId(java.lang.Long aOfferId) Set an offer |
void | setOfferIds(java.lang.Long[] aOfferIds) Set a set of offers |
void | setOrderItem(OrderItemAccessBean aOrderItemAB) Set order item |
void | setOrderItemId(java.lang.Long anOrderItemId) Set order item ID |
void | setQuantity(QuantityAmount aQuantity) Set quantity |
void | setTcId(java.lang.Long aTcId) Set ID of a term condition |
void | setTradingBasePrices(MonetaryAmount[] aPrices) Set prices based on trading |
void | setTradingId(java.lang.Long anTradingId) Set trading ID |
void | setTradingIds(java.lang.Long[] aTradingIds) Set trading IDs |
void | setTradingOfferIds(java.lang.Long[] aOfferIds) Set offer IDs |
void | setTradingOffers(OfferAccessBean[] aOffers) Set offer IDs |
void | setTradingTcIds(java.lang.Long[] aTcIds) Set term condition IDs |
void | setTradingUnitPrices(MonetaryAmount[] aPrices, StoreAccessBean aStoreAB) Set prices |
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 |
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
Method Detail |
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)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.