Newer Version Available
AuthorizationReversalRequest Class
Sends information about an authorization reversal request to a gateway
adapter during a service call.
Namespace
Example
Add your reversal classes to your payment gateway adapter. We recommend adding AuthorizationReversal as a possible requestType value when calling processRequest on the gateway’s response.
Then, add a class that sets the amount of the authorization reversal request, as well as gateway information and the Salesforce result code.
AuthorizationReversalRequest Constructors
The following are constructors for AuthorizationReversalRequest.
AuthorizationReversalRequest(amount, authorizationId)
AuthorizationReversalRequest Properties
The following are properties for AuthorizationReversalRequest.
paymentAuthorizationId
Signature
global String paymentAuthorizationId {get; set;}
Property Value
Type: String
AuthorizationReversalRequest Methods
The following are methods for AuthorizationReversalRequest.
equals(obj)
Maintains the integrity of lists of type AuthorizationReversalRequest by determining the equality of
external objects in a list. This method is dynamic and based on the equals method in
Java.
Signature
global Boolean equals(Object obj)
Parameters
- obj
- Type: Object
- External object whose key is to be validated.
Return Value
Type: Boolean
hashCode()
Maintains the integrity of lists of type AuthorizationReversalRequest by determining the uniqueness
of the external object in a list.
Signature
global Integer hashCode()
Return Value
Type: Integer