OutputResult Class
Stores and shows the results of the capture payment request made to the payment gateway.
blng
The following are methods for OutputResult.
-
Sets the results of the capture request gateway communication as either
true(successful) orfalse(failed). -
Shows whether the capture payment request was successful in the payment gateway.
-
Sets the error message following a failed payment capture request made to the payment gateway.
-
Returns the error message that the payment gateway sent following a failed capture payment request.
Sets the results of the capture request gateway communication as either true (successful) or false (failed).
global static void setIsSuccess(boolean isSuccess)
isSuccess: Type: boolean
Type: Void
Shows whether the capture payment request was successful in the payment gateway.
global static Boolean isSuccess
Type: Boolean
Sets the error message following a failed payment capture request made to the payment gateway.
global static void setErrorMessage(String errorMessage)
errorMessage: Type: String Error message containing information about the failed gateway communication. For information about the error message, see the documentation for your gateway.
Type: void
Returns the error message that the payment gateway sent following a failed capture payment request.
global static String getErrorMessage()
Type: String