ccrz.ccLogic.prepReturn

Removes intermediate keys added to the working map by other logic methods, and returns the final data queried by the B2B Commerce for Visualforce global API method.

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> prepReturn(Map<String, Object>)

Inputs

This method accepts a Map<String, Object>, which is a working map that contains the data copied from the original input map.

The working map also contains any extra keys added by other methods in the logic chain.

Outputs

This method returns a Map<String, Object>, which is the final data queried by the global API method.