ccrz.ccLogicCartPriceAsync.enqueuePricing

Calls the System.enqueueJob method for adding the queueable ccLogicCartPriceEnqueue class to the asynchronous Apex job queue. To call a custom queueable class, override this method with custom subscriber code.

Compatibility

This reference applies to:

Release Managed Package Version API Version
B2B Commerce for Visualforce Winter ’21 4.13 12

Signature

global virtual Map<String, Object> enqueuePlace(Map<String, Object>)

Inputs (Required)

This method accepts the working Map<String, Object> from the appropriate method:

Initial synchronous call
From ccrz.ccLogicCartPriceAsync.prepareAsyncPrice
Recursive, asynchronous calls
From ccrz.ccLogicCartPriceAsync.enqueueNext

This method requires the following key in the working map:

ccrz.ccApiCart.SKIP_CART_PRICING
Boolean that must be false for this method to execute.
Value Usage
true Skip the inner methods of the ccrz.ccLogicCartPriceAsync.prepareAsyncPrice method.
false Execute the next method in the process chain.

Outputs

This method returns the working Map<String, Object>, and sets the following key:

ccrz.ccApiCart.PRICE_ASYNC_JOB_ID
ID of the AsyncApexJob that represents the asynchronous Apex job that the System.enqueueJob method returned.