ccrz.ccLogicCartPlaceAsync.enqueuePlace
Calls the System.enqueueJob method for adding
the queueable ccLogicCartPlaceEnqueue 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> after the ccrz.ccLogicCartPlaceAsync.validateCartPricing method completes.
This method requires the following key in the working map:
- ccrz.ccLogicCartPlaceAsync.PRICE_IS_STALE
- Boolean that must be false for this method to
execute.
Value Usage true The cart's price data isn't current. false The cart's price data is current.
Outputs
This method returns the working Map<String, Object>, and sets the following key:
- ccrz.ccApiCart.PLACE_ASYNC_JOB_ID
- ID of the AsyncApexJob that represents the asynchronous Apex job that the System.enqueueJob method returned.