public class Reversal extends Request
config, outputFormat
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getTrnRef() |
boolean |
process()
Gather all request parameters needed to make an API call, and make one.
|
void |
setTrnRef(java.lang.String trnRef) |
boolean |
validate()
Checks if the class members are valid API request parameter values.
|
addRequestParam, addRequestParam, addRequestParam, addRequestParam, addRequestParam, addStandardParams, clearRequestParams, createApiCallFormHtml, createApiCallFormHtml, createApiCallFormHtml, createSignature, getConfig, getOutputFormat, getSignedRequestParams, processApiCall, removeRequestParam, setConfig, setOutputFormat
public Reversal(Config config)
public java.lang.String getTrnRef()
public void setTrnRef(java.lang.String trnRef)
public boolean validate() throws IPCException
IPCException
- If there are values which are missing,
or invalid API request parameters.public boolean process() throws IPCException
IPCException
- If there are invalid or missing parameters, or configuration values.
If there were errors while making the call to the API,
or decoding it's response.