ccrz.ccLogicOrderAuthCancel.process

Overrides the base ccrz.ccLogic.process method, sets up an intermediate working map, 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.ccApiOrder.canCancel method.

Logic Performed

This method invokes other methods of the ccrz.ccLogicOrderAuthCancel class in the following order:

  1. processInput
  2. prepReturn

This method creates a ccrz.cc_bean_MockOrder and passes it as input for the ccrz.cc_api_OutboundOrderCancel.eligibleForCancellation method's ccrz.cc_api_OutboundOrderCancel.ORDER_DATA_PARAM input.

Outputs

This method returns the resulting Map<String, Object> after all inner methods have completed. The return data also includes the result of the ccrz.cc_api_OutboundOrderCancel.eligibleForCancellation method.