com.mypos.myposcheckout.ipc.request

 

Class TransactionLog

java.lang.Objectcom.mypos.myposcheckout.ipc.request.Request com.mypos.myposcheckout.ipc.request.TransactionLog


public class TransactionLog
extends Request
Process IPC method: IPCGetTxnLog. This method is used by the Merchant to get information about a previously executed payment via IPCPurchase or IPCIAPurchase.

 

Field Summary

Fields inherited from class com.mypos.myposcheckout.ipc.request.Request

configoutputFormat

 

Constructor Summary

Constructors
Constructor and Description
TransactionLog(Config config) 

 

Method Summary

All MethodsInstance MethodsConcrete Methods
Modifier and Type Method and Description
java.lang.String getOrderId() 
ComplexResponse process()
Gather all request parameters needed to make an API call, and make one.
void setOrderId(java.lang.String orderId) 
boolean validate()
Checks if the class members are valid API request parameter values.

 

Methods inherited from class com.mypos.myposcheckout.ipc.request.Request

addRequestParamaddRequestParamaddRequestParamaddRequestParamaddRequestParamaddStandardParamsclearRequestParamscreateApiCallFormHtmlcreateApiCallFormHtml,createApiCallFormHtmlcreateSignaturegetConfiggetOutputFormatgetSignedRequestParamsprocessApiCallremoveRequestParamsetConfigsetOutputFormat

 

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

TransactionLog

public TransactionLog(Config config)

 

Method Detail

getOrderId

public java.lang.String getOrderId()

setOrderId

public void setOrderId(java.lang.String orderId)

validate

public boolean validate()
                 throws IPCException
Checks if the class members are valid API request parameter values.
Returns:
true if all members can be used as valid API request parameters
Throws:
IPCException - If there are values which are missing, or invalid API request parameters.

process

public ComplexResponse process()
                        throws IPCException
Gather all request parameters needed to make an API call, and make one.
Returns:
the decoded API response
Throws:
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.