The PriceListManager
creates prices and price lists and initiates the retrieval of prices for a given product, SKU or product/SKU pair. It returns the default, sales or other price list, and identifies the price list to use in a specific context or site. The most important method in PriceListManager
is the getPrice
method, which is used during the pricing of an order to get the correct price for a given product/SKU pair.
PriceListManager
can assign either a user’s default price list, using getDefaultPriceList,
or a default sale price list with getDefaultSalePriceList
should the default price list not be found. Using these methods, the property name of a profile price list can be added as an input parameter, determining which default price list should be returned. For example:
public RepositoryItem getDefaultPriceList (String pPropertyName)
For detailed information on the PriceListManager
, refer to the ATG Platform API Reference.