BaseRequest Class
BaseRequest is extended by all the request classes.
The following are methods for BaseRequest.
-
BaseRequest(AdditionalData, IdempotencyKey)
Used for testing.
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
additionalDataobject consists of key-value pairs. You can retrieve theadditionalDataobject 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