ccrz.ccLogicPIRemove.processInput
Parses the
working map for keys that downstream methods in the process chain require, and verifies that
appropriate values are set.
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> processInput(Map<String, Object>)
Inputs (Required)
This method accepts the working Map<String, Object> from the ccrz.ccLogicPIRemove.process method.
This method checks that the input map specifies the following key, and returns a ccrz.ccApi.MissingInputException if the key is missing:
- ccrz.ccApiProductIndex.IDS
-
Set<String> of Salesforce IDs of product
index records to
delete.
new Set<String>{'Product_Index_ID_1', 'Product_Index_ID_2'}
Outputs
This method returns the working Map<String, Object>, and sets the following keys:
- ccrz.ccApi.SUCCESS
- Boolean
Value Usage true The call completed. false The call encountered errors. - ccrz.ccLogic.ORIGINAL_INPUT
- Map<String, Object> of the original, unmodified input data.
The ccrz.ccLogicPIRemove.prepReturn method removes this intermediate key from the working map.