public class GatewayResponse extends Object
Constructor and Description |
---|
GatewayResponse(InputStream xmlstream,
GatewayRequest req)
Creates the GatewayResponse object by parsing an xml from a stream.
|
Modifier and Type | Method and Description |
---|---|
String |
getAuthCode() |
double |
getBeagleScore()
Gets the beagle score.
|
int |
getReturnAmount() |
BigDecimal |
getTransactionAmount() |
String |
getTrxnError() |
String |
getTrxnNumber() |
String |
getTrxnOption1() |
String |
getTrxnOption2() |
String |
getTrxnOption3() |
String |
getTrxnReference() |
boolean |
getTrxnStatus() |
String |
toString() |
public GatewayResponse(InputStream xmlstream, GatewayRequest req) throws Exception
xmlstream
- the stream to parse the response fromException
- if the xml contains a root element with a bad name or an unknown
element, or if the xml is badly formattedpublic String getTrxnNumber()
public String getTrxnReference()
public String getTrxnOption1()
public String getTrxnOption2()
public String getTrxnOption3()
public String getAuthCode()
public String getTrxnError()
public int getReturnAmount()
public BigDecimal getTransactionAmount()
public boolean getTrxnStatus()
public double getBeagleScore()