ccrz.ccLogicProductPricing.process
Overrides the base ccrz.ccLogic.process method, and invokes the other methods
for this class.
Compatibility
This reference applies to:
Release | Managed Package Version | API Version |
---|---|---|
B2B Commerce for Visualforce Winter ’21 | 4.13 | 12 |
B2B Commerce for Visualforce Spring ’20 | 4.12 | 11 |
B2B Commerce for Visualforce Summer ’19 | 4.11 | 10 |
B2B Commerce for Visualforce Spring ’19 | 4.10 | 9 |
B2B Commerce for Visualforce Summer ’18 | 4.9 | 8 |
Signature
global virtual Map<String, Object> process(Map<String, Object>)
Inputs (Required)
This method accepts a Map<String, Object>, which was the input data for the ccrz.ccApiProduct.fetch method.
Logic Performed
This method invokes other methods of the ccrz.ccLogicProductPricing class in the following order:
- processInputData
- processProductList
- fetchPriceListsAndItems
- processPriceListItems
- fetchBasePriceListsAndItems
-
evaluatePricing, which calls the appropriate
inner method for pricing the product based on its product type:
-
evaluateBasicPricing, which calls into one
of the following inner methods:
- evaluateSellersPricing, which calls into determinePrice
- evaluateSubProdTermPricing, which calls into determinePrice
- determinePrice, which can call into processPricingTiersPLI
-
evaluateBundlePricing, which calls into one
of the following inner methods:
- determinePrice
- evaluateSubProdTermPricing, which calls into determinePrice
-
evaluateKitPricing, which calls into one of
the following inner methods:
- determinePrice
- evaluateKitProductSubscriptions, which calls into determinePrice
-
evaluateDynamicKitPricing, which calls into
one of the following inner methods:
- determinePrice
- evaluateSubProdTermPricing, which calls into determinePrice
- evaluateAggregatePricing, which calls into determinePrice
- evaluateAssemblyPricing, which calls into determinePrice
- evaluateCustomProductPricing
-
evaluateBasicPricing, which calls into one
of the following inner methods:
- processSelectedPLIs, which can call into processPricingTiersPLI
- processAttributes
- prepReturnData
Outputs
This method returns the resulting Map<String, Object> after all inner methods have completed.