ccrz.ccLogicCartCreate.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.ccApiCart.create method.
Logic Performed
This method invokes other methods of the ccrz.ccLogicCartCreate class in the following order:
- processInput
- processCartData
- createCarts
- insertCarts
- createCartItems
- insertCartItems
- refetch
- prepReturn
Outputs
This method returns the resulting Map<String, Object> after all inner methods have completed.