java.lang.Object | +--com.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
aOrderItemAB
- an OrderItem accessbeanECException
public CatEntryPrices(OrderItemAccessBean aOrderItemAB, java.lang.Long[] aTradingIds, java.lang.Long[] aOfferIds) throws ECException
aOrderItemAB
- an OrderItem accessbeanECException
public CatEntryPrices(java.lang.Long anCatalogEntryId, QuantityAmount aQuantity) throws ECException
aQuantity
- a QuantityAmountECException
public CatEntryPrices(java.lang.Long anCatalogEntryId, QuantityAmount aQuantity, java.lang.Long[] aTradingIds, java.lang.Long[] aOfferIds) throws ECException
aQuantity
- a QuantityAmountaTradingIds
- Trading IDsaOfferIds
- Offer IDsECException
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)
aIndex
- the index to return the monetary amountpublic MonetaryAmount[] getTradingBasePrices()
public java.lang.Long getTradingId()
public java.lang.Long[] getTradingIds()
public OfferAccessBean getTradingOffer(int aIndex)
aIndex
- the index to return the offerpublic java.lang.Long getTradingOfferId(int aIndex)
aIndex
- the index to return the offerpublic java.lang.Long[] getTradingOfferIds()
public OfferAccessBean[] getTradingOffers()
public java.lang.Long getTradingTcId(int aIndex)
aIndex
- a index to return the term condition IDpublic java.lang.Long[] getTradingTcIds()
public MonetaryAmount getTradingUnitPrice(int aIndex)
aIndex
- the index to return the monetary amountpublic MonetaryAmount[] getTradingUnitPrices()
public MonetaryAmount getUnitPrice()
public void initOutput(int aSize)
aSize
- the array size for initializationpublic void refresh() throws ECException
EXException
ECException
public void setAllTradingIds(java.lang.Long[] aTradingIds)
aTradingIds
- an array of the trading IDspublic void setBasePrice(MonetaryAmount aPrice)
aPrice
- a monetary amount of the pricepublic void setCatalogEntryId(java.lang.Long anCatalogEntryId)
public void setOffer(OfferAccessBean aOffer)
aOffer
- an OfferAccessBeanpublic void setOfferId(java.lang.Long aOfferId)
aOfferId
- an offer IDpublic void setOfferIds(java.lang.Long[] aOfferIds)
aOfferIds
- a set of offer IDspublic void setOrderItem(OrderItemAccessBean aOrderItemAB)
aOrderItemAB
- a OrderItemAccessBeanpublic void setOrderItemId(java.lang.Long anOrderItemId)
public void setQuantity(QuantityAmount aQuantity)
aQuantity
- a QuantityAmountpublic void setTcId(java.lang.Long aTcId)
aTcId
- the ID of a term condition.public void setTradingBasePrices(MonetaryAmount[] aPrices)
aPrices
- an array of MonetaryAmountpublic void setTradingId(java.lang.Long anTradingId)
anTradingId
- a trading IDpublic void setTradingIds(java.lang.Long[] aTradingIds)
aTradingIds
- an array of trading IDspublic void setTradingOfferIds(java.lang.Long[] aOfferIds)
aOfferIds
- a array of offer IDspublic void setTradingOffers(OfferAccessBean[] aOffers)
aOffers
- a array of offer accessbeanspublic void setTradingTcIds(java.lang.Long[] aTcIds)
aTcIds
- an array of term condition IDspublic void setTradingUnitPrices(MonetaryAmount[] aPrices, StoreAccessBean aStoreAB) throws ECException
aPrices
- an array of MonetaryAmountaStoreAB
- a store accessbeanECException
public void setUnitPrice(MonetaryAmount aPrice)
aPrice
- a MonetaryAmount