BaseRequest Class

BaseRequest is extended by all the request classes.

CommercePayments

The following are methods for BaseRequest.

Used for testing.

global Void BaseRequest(String AdditionalData, Map<String, String> IdempotencyKey)

  • AdditionalData: Type: String Contains additional data that may be required for a payment request. The additionalData object consists of key-value pairs. You can retrieve the additionalData object from the request object: Map<String, String> additionalData=request.additionalData
  • IdempotencyKey: Type: Map<String, String> Unique value that’s generated by a client and sent to the server in the request. The server stores the value and uses the it to keep track of the request status.

Type: Void