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 |
---|---|
QuantityAmount |
FloorPriceDataBean.getQuantity()
Gets a quantity object of the catalog entry.
|
QuantityAmount |
EntitledPriceDataBean.getQuantity()
Gets quantity that represents quantity for the catalog entry.
|
Modifier and Type | Method and Description |
---|---|
void |
FloorPriceInputDataBean.setQuantity(QuantityAmount aQuantityAmount)
Sets the quantity amount of the input catalog entry that is to be priced (Optional).
|
void |
FloorPriceDataBean.setQuantity(QuantityAmount aQuantityAmount)
Sets the quantity amount of the input catalog entry that is to be priced (Optional).
|
void |
EntitledPriceDataBean.setQuantity(QuantityAmount aQuantity)
Sets the product quantity for calculating the price.
|
Constructor and Description |
---|
FormattedQuantityAmountDataBean(QuantityAmount aQuantityAmount,
com.ibm.commerce.common.objects.StoreAccessBean aStoreAccessBean,
java.lang.Integer aLangId)
Formatted quantity amount data bean constructor.
|
Modifier and Type | Method and Description |
---|---|
QuantityAmount[] |
GetStandardOfferCmdImpl.getQuantities()
Returns the quantities.
|
QuantityAmount |
ValidateDelegatedPriceCmdImpl.getQuantity()
Gets a quantity object of the catalog entry.
|
QuantityAmount |
ItemPriceInfo.getQuantity()
Get quantity amount
|
QuantityAmount |
GetEntitledPriceCmd.getQuantity()
Returns a quantity of a catalog entry.
|
QuantityAmount |
GetDynamicKitUnitPriceCmd.getQuantity()
Gets quantity of the dynamic kit.
|
QuantityAmount |
FloorPriceLookupCmdImpl.getQuantity()
Gets a quantity object of the catalog entry.
|
QuantityAmount |
EntitledPriceDataBeanCmdImpl.getQuantity()
Gets quantity that represents quantity for the catalog entry.
|
QuantityAmount |
CatEntryPrices.getQuantity()
Get Quantity for this catalog entry
|
QuantityAmount |
AbstractGetEntitledPriceCmdImpl.getQuantity()
This method returns quantity of a catalog entry.
|
QuantityAmount |
AbstractGetDynamicKitUnitPriceCmdImpl.getQuantity() |
Modifier and Type | Method and Description |
---|---|
boolean |
EnsureOffersExistGetContractUnitPriceCmdImpl.isValidOffer(java.lang.Double offerMinQuantity,
java.lang.Double offerMaxQuantity,
java.lang.String offerUOM,
QuantityAmount aQuantity,
java.lang.Long catentryID)
Filter the valid offer.
|
void |
RetrievePricesCmdImpl.setQuantities(QuantityAmount[] aQuantities)
Sets the quantities of the catentries to be used for calculating the prices.
|
void |
RetrievePricesCmd.setQuantities(QuantityAmount[] aQuantityAmounts)
Sets the quantity amount of the input catalog entry that is to be priced (Optional).
|
void |
GetStandardOfferCmdImpl.setQuantities(QuantityAmount[] arrQuantities)
Sets the quantities.
|
void |
GetStandardOfferCmd.setQuantities(QuantityAmount[] quantityAmounts)
Set the quantity amount of each catalog entry that is to be priced.
|
void |
ValidateDelegatedPriceCmdImpl.setQuantity(QuantityAmount aQuantityAmount)
Sets the quantity amount of the input catalog entry that is to be priced (Optional).
|
void |
ValidateDelegatedPriceCmd.setQuantity(QuantityAmount aQuantityAmount)
Sets the quantity amount of the input catalog entry that is to be priced (Optional).
|
void |
GetProductContractUnitPriceCmd.setQuantity(QuantityAmount aQuantityAmount)
Sets the quantity of the input catalog entry that is to be priced.
|
void |
GetProductBaseUnitPriceCmd.setQuantity(QuantityAmount aQuantityAmount)
(Optional) Set the quantity amount of the catalog entry that is to be priced.
|
void |
GetEntitledPriceCmd.setQuantity(QuantityAmount aQuantityAmount)
Sets the quantity amount of the input catalog entry that is to be priced (Optional).
|
void |
GetDynamicKitUnitPriceCmd.setQuantity(QuantityAmount newQuantity)
Sets quantity of the dynamic kit.
|
void |
GetContractUnitPriceCmdImpl.setQuantity(QuantityAmount aQuantityAmount)
Sets the quantity amount of the input catalog entry that is to be priced (Optional).
|
void |
GetContractUnitPriceCmd.setQuantity(QuantityAmount aQuantityAmount)
Sets the quantity of the input catalog entry that is to be priced.
|
void |
GetContractSpecialPriceCmd.setQuantity(QuantityAmount aQuantityAmount)
Sets the quantity of the input catalog entry that is to be priced.
|
void |
GetContractPriceListCmdImpl.setQuantity(QuantityAmount inQuantity) |
void |
GetContractPriceListCmd.setQuantity(QuantityAmount quantity)
Sets the quantity for command calculation
|
void |
GetBaseUnitPriceCmdImpl.setQuantity(QuantityAmount newQuantityAmount)
(Optional) Set the quantity amount of the catalog entry that is to be priced.
|
void |
GetBaseUnitPriceCmd.setQuantity(QuantityAmount aQuantityAmount)
(Optional) Set the quantity amount of the catalog entry that is to be priced.
|
void |
GetBaseSpecialPriceCmd.setQuantity(QuantityAmount aQuantityAmount)
(Optional) Set the quantity amount of the catalog entry that is to be priced.
|
void |
FloorPriceLookupCmdImpl.setQuantity(QuantityAmount aQuantityAmount)
Sets the quantity amount of the input catalog entry that is to be priced (Optional).
|
void |
FloorPriceLookupCmd.setQuantity(QuantityAmount aQuantityAmount)
Sets the quantity amount of the input catalog entry that is to be priced (Optional).
|
void |
EntitledPriceDataBeanCmdImpl.setQuantity(QuantityAmount aQuantity)
Sets the product quantity for calculating the price.
|
void |
CatEntryPrices.setQuantity(QuantityAmount aQuantity)
Sets the quantity of the catalog entry ID to price.
|
void |
AbstractGetPriceCmdImpl.setQuantity(QuantityAmount newQuantity) |
void |
AbstractGetEntitledPriceCmdImpl.setQuantity(QuantityAmount aQuantityAmount)
Sets the quantity amount of the input catalog entry that is to be priced.
|
void |
AbstractGetDynamicKitUnitPriceCmdImpl.setQuantity(QuantityAmount newQuantity) |
void |
GetPriceListForRangePriceCmdImpl.setQuantityAmount(QuantityAmount quantityAmount)
Set the quantity amount representing the quantity and unit of measurement.
|
void |
GetPriceListForRangePriceCmd.setQuantityAmount(QuantityAmount aQuantityAmount)
Set the quantity amount representing the quantity and unit of measurement.
|
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.
|
ItemPriceInfo(java.lang.Long anCatalogEntryId,
QuantityAmount aQuantity)
Item constructor comment.
|
Modifier and Type | Method and Description |
---|---|
QuantityAmount |
QuantityManager.convert(QuantityAmount aQuantityAmount,
java.lang.String toQuantityUnit)
Convert a quantity amount to a new quantity unit.
|
static QuantityAmount |
Helper.createQuantityAmount(com.ibm.commerce.fulfillment.objects.CatalogEntryShippingAccessBean aCatalogEntryShippingAB,
double aQuantity)
Create a quantity amount.
|
static QuantityAmount |
Helper.createRoundedQuantityAmount(com.ibm.commerce.fulfillment.objects.CatalogEntryShippingAccessBean aCatalogEntryShippingAB,
double aQuantity)
Create a rounded quantity amount.
|
QuantityAmount |
SimpleGetPriceCmdInput.getQuantity() |
QuantityAmount |
QuantityAmountDataBeanImpl.getQuantity()
Get the quantity (round customized).
|
QuantityAmount |
PrioritizedGetPriceCmdInput.getQuantity() |
QuantityAmount |
PriceOutputCase.getQuantity()
Returns the quantity that was used.
|
QuantityAmount |
PriceInputCaseGetPriceCmdInput.getQuantity() |
QuantityAmount |
PriceInputCase.getQuantity()
Returns the quantity to be used to calculate the price.
|
QuantityAmount |
GetPriceCmdInput.getQuantity()
Returns the quantity to be used in single mode.
|
QuantityAmount |
CatEntryPriceKey.getQuantity()
Returns the quantity.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.Integer |
Helper.calculateInventoryQuantity(QuantityAmount aQuantity,
com.ibm.commerce.inventory.objects.BaseItemAccessBean aBaseItemAB)
Calculate the inventory unit multiple from the quantity amount (with units).
|
static java.lang.Integer |
Helper.calculateInventoryQuantityUpDown(QuantityAmount aQuantity,
com.ibm.commerce.inventory.objects.BaseItemAccessBean aBaseItemAB,
boolean roundUp)
Calculate the inventory unit multiple from the quantity amount (with units).
|
QuantityAmount |
QuantityManager.convert(QuantityAmount aQuantityAmount,
java.lang.String toQuantityUnit)
Convert a quantity amount to a new quantity unit.
|
FormattedQuantityAmount |
QuantityManager.getFormattedQuantityAmount(QuantityAmount aQuantityAmount,
com.ibm.commerce.common.objects.StoreAccessBean aStoreAccessBean,
java.lang.Integer aLanguageId)
Get a formatted quantity amount for display purposes based on the formatting
rules defined in the database.
|
FormattedQuantityAmount |
QuantityManager.getFormattedQuantityAmount(QuantityAmount aQuantityAmount,
com.ibm.commerce.common.objects.StoreAccessBean aStoreAccessBean,
java.lang.Integer aLanguageId,
java.lang.String aNumberUsage)
Get a formatted quantity amount for display purposes based on the formatting
rules defined in the database.
|
static PriceDataBean[] |
PriceUtil.getStandardPrices(java.lang.Long[] catEntryIDs,
QuantityAmount[] quantities,
com.ibm.commerce.command.CommandContext cmdCtx)
Gets a PriceDataBean[] that represent the standard contract prices for the list of items.
|
static PriceDataBean[] |
PriceUtil.getStandardPrices(java.lang.Long[] catEntryIDs,
QuantityAmount[] quantities,
com.ibm.commerce.command.CommandContext cmdCtx,
java.lang.String currency)
Gets a PriceDataBean[] that represent the standard contract prices for the list of items.
|
static PriceDataBean[] |
PriceUtil.getStandardPrices(java.lang.Long[] catEntryIDs,
QuantityAmount[] quantities,
com.ibm.commerce.command.CommandContext cmdCtx,
java.lang.String currency,
boolean forSingleUnit)
Gets a PriceDataBean[] that represent the standard contract prices for the list of items.
|
static double |
Helper.numberOfQuantityMultiples(java.lang.Long theCatEntryId,
QuantityAmount aRequestedQuantityAmount)
Calculates the number of quantity multiples, of a catEntry, a quantity represents.
|
void |
QuantityManager.round(QuantityAmount aQuantityAmount,
com.ibm.commerce.common.objects.StoreAccessBean aStoreAccessBean)
Round the quantity amount to the appropriate number of decimal places.
|
void |
QuantityManager.round(QuantityAmount aQuantityAmount,
com.ibm.commerce.common.objects.StoreAccessBean aStoreAccessBean,
java.lang.String aNumberUsage)
Round the quantity amount to the appropriate number of decimal places.
|
static double |
Helper.roundAndNormalizeQuantityAmount(com.ibm.commerce.fulfillment.objects.CatalogEntryShippingAccessBean aCatalogEntryShippingAB,
QuantityAmount aRequestedQuantityAmount)
Round and normalize the quantity amount.
|
void |
QuantityManager.roundCustomized(QuantityAmount aQuantityAmount,
com.ibm.commerce.common.objects.StoreAccessBean aStoreAccessBean)
Perform customized rounding to the correct number of decimal places.
|
void |
QuantityManager.roundCustomized(QuantityAmount aQuantityAmount,
com.ibm.commerce.common.objects.StoreAccessBean aStoreAccessBean,
java.lang.String aNumberUsage)
Perform customized rounding to the correct number of decimal places.
|
static void |
Helper.roundQuantityAmount(com.ibm.commerce.fulfillment.objects.CatalogEntryShippingAccessBean aCatalogEntryShippingAB,
QuantityAmount aRequestedQuantityAmount)
Round the quantity amount up to the nearest quantity multiple (specified in the catalog
entry shipping access bean).
|
void |
SimpleGetPriceCmdInput.setQuantity(QuantityAmount newQuantity)
Sets the quantity.
|
void |
QuantityAmountDataBeanImpl.setQuantity(QuantityAmount newQuantity)
Set the quantity.
|
Constructor and Description |
---|
CatEntryPriceKey(java.lang.Long newCatEntryID,
QuantityAmount newQuantity)
Constructor to build an instance from a catalog entry ID and a quantity
amount, with a null order item ID.
|
CatEntryPriceKey(java.lang.Long newCatEntryID,
QuantityAmount newQuantity,
com.ibm.commerce.order.objects.OrderItemAccessBean newOrderItem)
Constructor to build an instance from a catalog entry ID, a quantity
amount, and an order item ID from an order item.
|
PriceInputCase(java.lang.Integer newStoreID,
java.lang.String newCurrency,
java.lang.Long newOrganizationID,
java.lang.Long newMemberID,
java.lang.Long newTradingID,
java.lang.Long newCatEntryID,
MixList<java.lang.Long> newOfferIDs,
QuantityAmount newQuantity,
com.ibm.commerce.order.objects.OrderItemAccessBean newOrderItem,
java.util.Map newCustomData)
Constructor for PriceCase.
|
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.
|
QuantityAmountDataBeanImpl(QuantityAmount aQuantityAmount,
com.ibm.commerce.common.objects.StoreAccessBean aStoreAccessBean,
java.lang.Integer aLangId)
QuantityAmountDataBeanImpl constructor.
|