which pricing will you use?

If you want to access the list of the customer’s active and global promotions, which pricing will you

use?

If you want to access the list of the customer’s active and global promotions, which pricing will you

use?

A.
PricingEngine

B.
PricingTools

C.
PricingModelHolder

D.
PricingCalculator

Explanation:
Because it can be resource intensive to collect a user’s list of promotions, or pricing
models, the session-scoped UserPricingModels component (class
atg.commerce.pricing.PricingModelHolder) stores them in a session cache. When a session starts
for a user, UserPricingModels queries each pricing engine for the customer’s promotions.
PricingModelHolder is schedulable, and can also be configured to periodically update the
promotions cache.
These promotions include both the promotions in the user’s activePromotions profile property and
the list of global promotions.
References: ATG Commerce Programming Guide, Promotion Repository Item Properties



Leave a Reply 0

Your email address will not be published. Required fields are marked *