Class C2bValidationResult
java.lang.Object
io.github.openpaydev.mpesa.core.models.C2bValidationResult
Represents the JSON response your application must send back to M-Pesa from your validation URL.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic C2bValidationResultHelper to create a standard error response.intstatic C2bValidationResultHelper to create a standard success response.
-
Constructor Details
-
C2bValidationResult
-
-
Method Details
-
success
Helper to create a standard success response. -
error
Helper to create a standard error response. -
getResultCode
public int getResultCode() -
getResultDesc
-