BaseRequest

BaseRequest is extended by all the request classes.

Namespace

commercepayments

BaseRequest Methods

The following are methods for BaseRequest.

BaseRequest(AdditionalData, IdempotencyKey)

Used for testing.

Signature

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

Parameters

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.

Return Value

Type: Void