Package | Description |
---|---|
com.ibm.commerce.price.beans |
Contains data beans to work with
currencies.
|
com.ibm.commerce.price.commands |
Contains controller or task commands to
calculate prices, to handle order adjustments and to handle currency
|
com.ibm.commerce.price.utils |
Provides a cache of currency and quantity tables to be used by any code needing that information.
|
Modifier and Type | Method and Description |
---|---|
MonetaryAmount |
DynamicKitPredefinedConfigurationDataBean.getStartingPrice()
Gets the price of the predefined configuration.
|
Constructor and Description |
---|
CategorizedMonetaryAmountsDataBean(MonetaryAmount aMonetaryAmount,
com.ibm.commerce.common.objects.StoreAccessBean aStoreAccessBean,
java.lang.Integer aLangId,
java.lang.String aCategoryName)
CategorizedMonetaryAmountFormatter constructor.
|
CategorizedMonetaryAmountsDataBean(MonetaryAmount aMonetaryAmount,
com.ibm.commerce.common.objects.StoreAccessBean aStoreAccessBean,
java.lang.Integer aLangId,
java.lang.String aCategoryName,
java.util.Hashtable aDescHash,
java.util.Hashtable aAmountHash,
java.util.Hashtable aAmountDBHash)
CategorizedMonetaryAmountFormatter constructor.
|
CategorizedMonetaryAmountsDataBean(MonetaryAmount aMonetaryAmount,
com.ibm.commerce.common.objects.StoreAccessBean aStoreAccessBean,
java.lang.Integer aLangId,
java.lang.String aCategoryName,
java.util.Hashtable aDescHash,
java.util.Hashtable aAmountHash,
java.util.Hashtable aAmountDBHash,
java.util.HashMap aRateHash)
CategorizedMonetaryAmountFormatter constructor.
|
FloorPriceDataBean(MonetaryAmount aMonetaryAmount,
com.ibm.commerce.common.objects.StoreAccessBean aStoreAccessBean,
java.lang.Integer aLanguageId)
Floor Price data bean constructor.
|
FloorPriceDataBean(MonetaryAmount aMonetaryAmount,
com.ibm.commerce.common.objects.StoreAccessBean aStoreAccessBean,
java.lang.Integer aLanguageId,
java.lang.Long aCatEntryId,
com.ibm.commerce.command.CommandContext aCommandContext)
Floor Price data bean constructor.
|
FloorPriceDataBean(MonetaryAmount aMonetaryAmount,
com.ibm.commerce.common.objects.StoreAccessBean aStoreAccessBean,
java.lang.Integer aLanguageId,
java.lang.String aPartnumber,
com.ibm.commerce.command.CommandContext aCommandContext)
Floor Price data bean constructor.
|
FormattedMonetaryAmountDataBean(MonetaryAmount aMonetaryAmount,
com.ibm.commerce.common.objects.StoreAccessBean aStoreAccessBean,
java.lang.Integer aLangId)
Formatted monetary amount data bean constructor.
|
PriceDataBean(MonetaryAmount aMonetaryAmount,
com.ibm.commerce.common.objects.StoreAccessBean aStoreAccessBean,
java.lang.Integer aLanguageId)
Price data bean constructor.
|
PriceDataBean(MonetaryAmount aMonetaryAmount,
com.ibm.commerce.common.objects.StoreAccessBean aStoreAccessBean,
java.lang.Integer aLanguageId,
java.lang.Long aCatEntryId,
com.ibm.commerce.command.CommandContext aCommandContext)
Price data bean constructor.
|
Modifier and Type | Method and Description |
---|---|
MonetaryAmount |
ContractPriceAdditionCmdImpl.getAddedMonetaryAmount() |
MonetaryAmount |
ContractPriceAdditionCmd.getAddedMonetaryAmount()
Returns total amount of dynamickit components
|
MonetaryAmount |
GetContractPriceListCmdImpl.getApplicableTradingUnitPrice() |
MonetaryAmount |
GetContractPriceListCmd.getApplicableTradingUnitPrice()
Returns the unit price of a catentry that were determined for each of the
applied trading agreements.
|
MonetaryAmount[] |
GetProductContractUnitPriceCmd.getApplicableTradingUnitPrices()
Returns the prices that were determined for each of the applied trading
agreements for the catalog entry.
|
MonetaryAmount[] |
GetDynamicKitUnitPriceCmd.getApplicableTradingUnitPrices()
Returns the prices that were determined for each of the applied trading
agreements for a catalog entry.
|
MonetaryAmount[] |
GetContractUnitPriceCmdImpl.getApplicableTradingUnitPrices()
For input single Catalog entry, returns the unit prices of a catentry that were determined for each of the
applied trading agreements.
|
MonetaryAmount[] |
GetContractUnitPriceCmd.getApplicableTradingUnitPrices()
Returns the prices that were determined for each of the applied trading
agreements for a catalog entry.
|
MonetaryAmount[] |
GetContractSpecialPriceCmd.getApplicableTradingUnitPrices()
Returns the prices that were determined for each of the applied trading
agreements for a catalog entry.
|
MonetaryAmount[] |
AbstractGetPriceCmdImpl.getApplicableTradingUnitPrices() |
MonetaryAmount[] |
AbstractGetEntitledPriceCmdImpl.getApplicableTradingUnitPrices()
This method, inherited from the parent class, is not supported for integration with an external price management
system.
|
MonetaryAmount[] |
AbstractGetDynamicKitUnitPriceCmdImpl.getApplicableTradingUnitPrices() |
MonetaryAmount |
ItemPriceInfo.getBasePrice()
Get base price
|
MonetaryAmount |
GetProductContractUnitPriceCmd.getBasePrice()
Returns the best price of the input catalog entry before any currency
conversions.
|
MonetaryAmount |
GetProductBaseUnitPriceCmd.getBasePrice()
Gets the base price of the catalog entry.
|
MonetaryAmount |
GetContractUnitPriceCmdImpl.getBasePrice()
For input single catalog entry, returns the base price of the input catalog entry.
|
MonetaryAmount |
GetContractUnitPriceCmd.getBasePrice()
Returns the best price of the input catalog entry before any currency
conversions.
|
MonetaryAmount |
GetContractSpecialPriceCmd.getBasePrice()
Returns the best price of the input catalog entry before any currency
conversions.
|
MonetaryAmount |
GetBaseUnitPriceCmdImpl.getBasePrice()
Gets the base price of the catalog entry.
|
MonetaryAmount |
GetBaseUnitPriceCmd.getBasePrice()
Gets the base price of the catalog entry.
|
MonetaryAmount |
GetBaseSpecialPriceCmd.getBasePrice()
Gets the base price of the catalog entry.
|
MonetaryAmount |
CatEntryPrices.getBasePrice()
Returns the base price of the catalog entry.
|
MonetaryAmount |
AbstractGetPriceCmdImpl.getBasePrice() |
MonetaryAmount |
AbstractGetEntitledPriceCmdImpl.getBasePrice()
This method, inherited from the parent class, is not supported for integration with an external price management
system.
|
MonetaryAmount[] |
GetStandardOfferCmdImpl.getBasePrices() |
MonetaryAmount[] |
GetStandardOfferCmd.getBasePrices()
Gets the prices for the given catlog entries with the currency specified in the database table.
|
MonetaryAmount |
EnsureOffersExistGetContractUnitPriceCmdImpl.getBestPriceForOfferWithSpecificCurrency(java.lang.String offerId,
java.lang.String currency,
java.lang.String storeId)
Get best price for an offer with specific currency, if the currency is
null, will return alternative prices.
|
MonetaryAmount |
PriceCalculationHelper.getDynamicKitConfigurationPriceWithPredefinedConfiguration(java.lang.String aCurrency,
java.lang.Long tradingId,
com.ibm.commerce.order.objects.OrderItemAccessBean oiab,
java.lang.Long dynamicKitCatalogEntryId,
java.lang.Long dynamicKitPredefinedConfigurationId,
MonetaryAmount predefinedConfigurationPrice,
com.ibm.commerce.command.CommandContext commandContext)
Returns the cost of the dynamic kit configuration represented by the
passed OrderItemAccessBean, oiab using the starting point represented by
startPointOfferAccessBean.
|
MonetaryAmount |
PriceCalculationHelper.getDynamicKitPrice(java.lang.String aCurrency,
com.ibm.commerce.command.CommandContext aCommandContext,
java.lang.String astrConfigurationId,
com.ibm.commerce.order.objects.OrderItemAccessBean aabOrderItem)
get dynamic kit price
|
MonetaryAmount |
PriceCalculationHelper.getDynamicKitPrice(java.lang.String aCurrency,
com.ibm.commerce.command.CommandContext aCommandContext,
java.lang.String astrConfigurationId,
com.ibm.commerce.order.objects.OrderItemAccessBean aabOrderItem,
java.util.Vector avecOrderItemComponents)
get dynamic kit price
|
MonetaryAmount |
PriceCalculationHelper.getDynamicKitPrice(java.lang.String aCurrency,
com.ibm.commerce.command.CommandContext aCommandContext,
java.lang.String astrConfigurationId,
com.ibm.commerce.order.objects.OrderItemAccessBean aabOrderItem,
java.util.Vector avecOrderItemComponents,
java.lang.Long[] tradingIds)
Calls getDynamicKitPrice(aCurrency, aCommandContext, astrConfigurationId, aabOrderItem, avecOrderItemComponents, tradingIds, true) to find the dynamic kit price using starting points.
|
MonetaryAmount |
PriceCalculationHelper.getDynamicKitPrice(java.lang.String aCurrency,
com.ibm.commerce.command.CommandContext aCommandContext,
java.lang.String astrConfigurationId,
com.ibm.commerce.order.objects.OrderItemAccessBean aabOrderItem,
java.util.Vector avecOrderItemComponents,
java.lang.Long[] tradingIds,
boolean useStartingPoint,
java.lang.Long dynamicKitPredefinedConfigurationId)
get dynamic kit price
|
MonetaryAmount |
FloorPriceLookupCmdImpl.getFloorPrice()
Gets the floor price for the given catalog entry with the requested currency.
|
MonetaryAmount |
FloorPriceLookupCmd.getFloorPrice()
Gets the floor price for the given catalog entry with the requested currency.
|
MonetaryAmount |
GetProductContractUnitPriceCmd.getPrice()
Returns the best price of the catalog entry in the requested currency.
|
MonetaryAmount |
GetProductBaseUnitPriceCmd.getPrice()
Gets the actual price of the catalog entry.
|
MonetaryAmount |
GetEntitledPriceCmd.getPrice()
Returns the actual price of the catalog entry if
setCatEntryId was invoked to set input parameter. |
MonetaryAmount |
GetContractUnitPriceCmdImpl.getPrice()
For input single Catalog entry, returns the actual price of the catalog entry.
|
MonetaryAmount |
GetContractUnitPriceCmd.getPrice()
Returns the best price of the catalog entry in the requested currency.
|
MonetaryAmount |
GetContractSpecialPriceCmd.getPrice()
Returns the best price of the catalog entry in the requested currency.
|
MonetaryAmount |
GetBaseUnitPriceCmdImpl.getPrice()
Gets the actual price of the catalog entry.
|
MonetaryAmount |
GetBaseUnitPriceCmd.getPrice()
Gets the actual price of the catalog entry.
|
MonetaryAmount |
GetBaseSpecialPriceCmd.getPrice()
Gets the actual price of the catalog entry.
|
MonetaryAmount |
AbstractGetPriceCmdImpl.getPrice() |
MonetaryAmount |
AbstractGetEntitledPriceCmdImpl.getPrice()
This method returns the best price of the catalog entry.
|
MonetaryAmount |
PredefinedConfigurationComponentPricingCmdImpl.getPriceDifferenceAddingComponents(java.util.Set components,
java.lang.String currency,
java.lang.Long contractId)
Returns the negated price change to the predefined configuration that is
caused by removing the components in the passed Set of DynamicKitComponent
objects.
|
MonetaryAmount |
PredefinedConfigurationComponentPricingCmd.getPriceDifferenceAddingComponents(java.util.Set components,
java.lang.String currency,
java.lang.Long contractId)
Returns the price change to the predefined configuration that is caused by
adding the components in the passed Set of DynamicKitComponent objects.
|
MonetaryAmount |
PredefinedConfigurationComponentPricingCmdImpl.getPriceDifferenceRemovingComponents(java.util.Set components,
java.lang.String currency,
java.lang.Long contractId)
Returns the negated price change to the predefined configuration that is
caused by removing the components in the passed Set of DynamicKitComponent
objects.
|
MonetaryAmount |
PredefinedConfigurationComponentPricingCmd.getPriceDifferenceRemovingComponents(java.util.Set components,
java.lang.String currency,
java.lang.Long contractId)
Returns the negated price change to the predefined configuration that is caused
by removing the components in the passed Set of DynamicKitComponent objects.
|
MonetaryAmount |
PredefinedConfigurationComponentPricingCmdImpl.getPriceDifferenceReplacingComponents(java.util.Hashtable replacements,
java.lang.String currency,
java.lang.Long contractId)
Returns the price change to the predefined configuration that is caused by
preforming the component replacements in the passed Hashtable of
DynamicKitComponent objects.
|
MonetaryAmount |
PredefinedConfigurationComponentPricingCmd.getPriceDifferenceReplacingComponents(java.util.Hashtable replacements,
java.lang.String currency,
java.lang.Long contractId)
Returns the price change to the predefined configuration that is caused by
preforming the component replacements in the passed Hashtable of
DynamicKitComponent objects.
|
MonetaryAmount[] |
GetStandardOfferCmdImpl.getPrices() |
MonetaryAmount[] |
GetStandardOfferCmd.getPrices()
Gets the prices for the given catlog entries with the requested currency.
|
MonetaryAmount |
CatEntryPrices.getTradingBasePrice(int aIndex)
Returns the price of this catalog entry under a trading agreement.
|
MonetaryAmount[] |
CatEntryPrices.getTradingBasePrices()
Returns an array representing the price of the catalog entry from each of the trading agreements passed
through setTradingIds().
|
MonetaryAmount |
CatEntryPrices.getTradingUnitPrice(int aIndex)
Returns the price of the catalog entry under a trading agreement as a MonetaryAmount object.
|
MonetaryAmount[] |
CatEntryPrices.getTradingUnitPrices()
Returns an array of MonetaryAmount prices of the catalog entry under the trading agreements.
|
MonetaryAmount |
ItemPriceInfo.getUnitPrice()
Get monetary amount of the price
|
MonetaryAmount |
GetDynamicKitUnitPriceCmd.getUnitPrice()
Returns the best unit price of the dynamic kit in the requested currency.
|
MonetaryAmount |
CatEntryPrices.getUnitPrice()
Returns the price of the catalog entry as a MonetaryAmount object.
|
MonetaryAmount |
AbstractGetDynamicKitUnitPriceCmdImpl.getUnitPrice() |
MonetaryAmount[] |
GetStandardOfferCmdImpl.getUnitPrices()
This method returns all the single unit standard price, which is based on an offer.
|
MonetaryAmount[] |
GetStandardOfferCmd.getUnitPrices()
This method returns all the single unit standard price, which is based on an offer.
|
MonetaryAmount |
PriceCalculationHelper.setRoundCustomizedPrice(MonetaryAmount aPrice,
com.ibm.commerce.common.objects.StoreAccessBean aStoreAB)
Rounds up the input price.
|
Modifier and Type | Method and Description |
---|---|
MonetaryAmount |
PriceCalculationHelper.getDynamicKitConfigurationPriceWithPredefinedConfiguration(java.lang.String aCurrency,
java.lang.Long tradingId,
com.ibm.commerce.order.objects.OrderItemAccessBean oiab,
java.lang.Long dynamicKitCatalogEntryId,
java.lang.Long dynamicKitPredefinedConfigurationId,
MonetaryAmount predefinedConfigurationPrice,
com.ibm.commerce.command.CommandContext commandContext)
Returns the cost of the dynamic kit configuration represented by the
passed OrderItemAccessBean, oiab using the starting point represented by
startPointOfferAccessBean.
|
void |
ContractPriceAdditionCmdImpl.setBaseMonetaryAmountToAdd(MonetaryAmount bPrice) |
void |
ContractPriceAdditionCmd.setBaseMonetaryAmountToAdd(MonetaryAmount bPrice)
Sets base amount to be added
|
void |
ItemPriceInfo.setBasePrice(MonetaryAmount aPrice)
Set base price
|
void |
CatEntryPrices.setBasePrice(MonetaryAmount aPrice)
Sets the base price for the catalog entry.
|
void |
ContractPriceAdditionCmdImpl.setMonetaryAmountToAdd(MonetaryAmount price) |
void |
ContractPriceAdditionCmd.setMonetaryAmountToAdd(MonetaryAmount price)
Sets amount to be added
|
MonetaryAmount |
PriceCalculationHelper.setRoundCustomizedPrice(MonetaryAmount aPrice,
com.ibm.commerce.common.objects.StoreAccessBean aStoreAB)
Rounds up the input price.
|
void |
CatEntryPrices.setTradingBasePrices(MonetaryAmount[] aPrices)
Set the prices of the catalog entry for the trading agreements.
|
void |
CatEntryPrices.setTradingUnitPrices(MonetaryAmount[] aPrices,
com.ibm.commerce.common.objects.StoreAccessBean aStoreAB)
Sets the prices for the catalog entry in each trading agreement.
|
void |
ItemPriceInfo.setUnitPrice(MonetaryAmount aPrice)
Set price
|
void |
CatEntryPrices.setUnitPrice(MonetaryAmount aPrice)
Sets the price for the catalog entry.
|
Modifier and Type | Method and Description |
---|---|
MonetaryAmount |
MonetaryAmount.add(MonetaryAmount aMonetaryAmount)
Add 2 monetary amounts.
|
MonetaryAmount |
CurrencyManager.convert(MonetaryAmount aMonetaryAmount,
com.ibm.commerce.common.objects.StoreAccessBean aStoreAccessBean,
java.lang.String toCurrency)
Convert a monetary amount to a new currency.
|
MonetaryAmount |
MonetaryAmount.divide(java.math.BigDecimal aBigDecimal)
Divide a monetary amount by a big decimal.
|
MonetaryAmount |
SimpleGetPriceCmdOutput.getBasePrice() |
MonetaryAmount |
PriceOutputCaseGetPriceCmdOutput.getBasePrice() |
MonetaryAmount |
PriceOutputCase.getBasePrice()
Returns the base price that was found.
|
MonetaryAmount |
PriceConversionAlgorithm.getBasePrice()
Get the base price used to convert to the lowest price.
|
MonetaryAmount |
GetPriceCmdOutput.getBasePrice()
Returns the best price of the input catalog entry before any currency
conversions.
|
MonetaryAmount |
PriceConversionAlgorithm.getBestPrice()
Get the best price.
|
MonetaryAmount[] |
CurrencyManager.getCounterValues(com.ibm.commerce.common.objects.StoreAccessBean aStoreAccessBean,
MonetaryAmount aMonetaryAmount)
Get the list of counter values in the appropriate order.
|
MonetaryAmount |
OfferIdMonetaryAmountPair.getMonetaryAmount()
Returns the MonetaryAmount
|
MonetaryAmount |
SimpleGetPriceCmdOutput.getPrice() |
MonetaryAmount |
PriceOutputCaseGetPriceCmdOutput.getPrice() |
MonetaryAmount |
PriceOutputCase.getPrice()
Returns the final calculated price.
|
MonetaryAmount |
GetPriceCmdOutput.getPrice()
Returns the best price of the catalog entry in the requested currency.
|
MonetaryAmount |
MonetaryAmountDataBean.getPrimaryPrice()
Get the primary price (round customized).
|
MonetaryAmount |
MonetaryAmount.multiply(java.math.BigDecimal aBigDecimal)
Multiply a monetary amount by a big decimal value.
|
MonetaryAmount |
MonetaryAmount.subtract(MonetaryAmount aMonetaryAmount)
Subtract 2 monetary amounts.
|
Modifier and Type | Method and Description |
---|---|
MixList<MonetaryAmount> |
SimpleGetPriceCmdOutput.getApplicableUnitPrices() |
MixList<MonetaryAmount> |
PriceOutputCaseGetPriceCmdOutput.getApplicableUnitPrices() |
MixList<MonetaryAmount> |
GetPriceCmdOutput.getApplicableUnitPrices()
Returns the prices that were determined for each of the applied trading
agreements for a catalog entry.
|
Modifier and Type | Method and Description |
---|---|
MonetaryAmount |
MonetaryAmount.add(MonetaryAmount aMonetaryAmount)
Add 2 monetary amounts.
|
MonetaryAmount |
CurrencyManager.convert(MonetaryAmount aMonetaryAmount,
com.ibm.commerce.common.objects.StoreAccessBean aStoreAccessBean,
java.lang.String toCurrency)
Convert a monetary amount to a new currency.
|
MonetaryAmount[] |
CurrencyManager.getCounterValues(com.ibm.commerce.common.objects.StoreAccessBean aStoreAccessBean,
MonetaryAmount aMonetaryAmount)
Get the list of counter values in the appropriate order.
|
FormattedMonetaryAmount |
CurrencyManager.getFormattedMonetaryAmount(MonetaryAmount aMonetaryAmount,
com.ibm.commerce.common.objects.StoreAccessBean aStoreAccessBean,
java.lang.Integer aLanguageId)
Get a formatted monetary amount for display purposes based on the formatting
rules defined in the database.
|
FormattedMonetaryAmount |
CurrencyManager.getFormattedMonetaryAmount(MonetaryAmount aMonetaryAmount,
com.ibm.commerce.common.objects.StoreAccessBean aStoreAccessBean,
java.lang.Integer aLanguageId,
java.lang.String aNumberUsage)
Get a formatted monetary amount for display purposes based on the formatting
rules defined in the database.
|
void |
CurrencyManager.round(MonetaryAmount aMonetaryAmount,
com.ibm.commerce.common.objects.StoreAccessBean aStoreAccessBean)
Round the monetary amount to the appropriate number of decimal places.
|
void |
CurrencyManager.round(MonetaryAmount aMonetaryAmount,
com.ibm.commerce.common.objects.StoreAccessBean aStoreAccessBean,
java.lang.String aNumberUsage)
Round the monetary amount to the appropriate number of decimal places.
|
void |
CurrencyManager.roundCustomized(MonetaryAmount aMonetaryAmount,
com.ibm.commerce.common.objects.StoreAccessBean aStoreAccessBean)
Perform customized rounding to the correct number of decimal places.
|
void |
CurrencyManager.roundCustomized(MonetaryAmount aMonetaryAmount,
com.ibm.commerce.common.objects.StoreAccessBean aStoreAccessBean,
java.lang.String aNumberUsage)
Perform customized rounding to the correct number of decimal places.
|
void |
SimpleGetPriceCmdOutput.setBasePrice(MonetaryAmount newBasePrice)
Sets the best price for the main catalog entry before currency
conversion.
|
void |
SimpleGetPriceCmdOutput.setPrice(MonetaryAmount newPrice)
Sets the best price for the main catalog entry.
|
void |
MonetaryAmountDataBean.setPrimaryPrice(MonetaryAmount newPrimaryPrice)
Set the primary price.
|
MonetaryAmount |
MonetaryAmount.subtract(MonetaryAmount aMonetaryAmount)
Subtract 2 monetary amounts.
|
Modifier and Type | Method and Description |
---|---|
void |
SimpleGetPriceCmdOutput.setApplicableUnitPrices(MixList<MonetaryAmount> newApplicableUnitPrices)
Sets all the prices that were found for the main catalog entry.
|
Constructor and Description |
---|
MonetaryAmountDataBean(MonetaryAmount aMonetaryAmount,
com.ibm.commerce.common.objects.StoreAccessBean aStoreAccessBean,
java.lang.Integer aLangId)
MonetaryAmountDataBean constructor.
|
OfferIdMonetaryAmountPair(java.lang.Long offerId,
MonetaryAmount monetaryAmount)
Constructor.
|
PriceConversionAlgorithm(MonetaryAmount[] theExistingPrices,
java.lang.String aRequestedCurrency,
com.ibm.commerce.common.objects.StoreAccessBean aStoreAB)
PriceConversionAlgorithm constructor comment.
|
PriceOutputCase(java.lang.Long newCatEntryID,
java.lang.Long newTradingID,
java.lang.Long newTCID,
QuantityAmount newQuantity,
com.ibm.commerce.order.objects.OfferAccessBean newOffer,
java.lang.Long newOfferID,
MonetaryAmount newBasePrice,
MonetaryAmount newPrice)
Constructor for PriceOutputCase.
|