Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
TransactionResult Class
TransactionResult Methods
The following are methods for TransactionResult.
setGatewayRequest(gatewayRequest)
Sets the capture payment request sent to the payment gateway.
Signature
global void setGatewayRequest(String gatewayRequest)
Parameters
- gatewayRequest
- Type: String
Return Value
Type: Void
getGatewayRequest(gatewayRequest)
Returns the string containing the payment capture request sent to the
gateway.
Signature
global String GatewayRequest()
Return Value
Type: String
setGatewayResponse(gatewayResponse)
Returns the gateway's response following a capture payment transaction.
Signature
global void setGatewayResponse(String gatewayResponse)
Parameters
- gatewayResponse
- Type: String
Return Value
Type: void
getGatewayResponse(gatewayResponse)
Returns the string containing the gateway's response from a capture payment
transaction.
Signature
global void getGatewayResponse()
Return Value
Type: Void