@StampyLibrary(libraryName="stampy-examples") public class SystemClient extends java.lang.Object
| Constructor and Description |
|---|
SystemClient() |
| Modifier and Type | Method and Description |
|---|---|
ErrorMessage |
getError()
Gets the error.
|
AbstractStampyMessageGateway |
getGateway()
Gets the gateway.
|
ReceiptMessage |
getReceipt()
Gets the receipt.
|
void |
init()
Inits the.
|
static void |
main(java.lang.String[] args)
The main method.
|
void |
setError(ErrorMessage error)
Sets the error.
|
void |
setGateway(AbstractStampyMessageGateway gateway)
Sets the gateway.
|
void |
setReceipt(ReceiptMessage receipt)
Sets the receipt.
|
void |
testBadUser() |
void |
testConnect()
Test connect.
|
void |
testLogin()
Test login.
|
void |
testSubscription() |
void |
testTransaction() |
public void init()
throws java.lang.Exception
java.lang.Exception - the exceptionpublic void testConnect()
throws java.lang.Exception
java.lang.Exception - the exceptionpublic void testLogin()
throws java.lang.Exception
java.lang.Exception - the exceptionpublic void testTransaction()
throws java.lang.Exception
java.lang.Exceptionpublic void testBadUser()
throws java.lang.Exception
java.lang.Exceptionpublic void testSubscription()
throws java.lang.Exception
java.lang.Exceptionpublic ErrorMessage getError()
public void setError(ErrorMessage error)
error - the new errorpublic AbstractStampyMessageGateway getGateway()
public void setGateway(AbstractStampyMessageGateway gateway)
gateway - the new gatewaypublic static void main(java.lang.String[] args)
args - the argumentspublic ReceiptMessage getReceipt()
public void setReceipt(ReceiptMessage receipt)
receipt - the new receipt