com.anywherecommerce.android.sdk.endpoints.propay
Class PropayTerminal
-
java.lang.Object
-
com.anywherecommerce.android.sdk.Terminal
com.anywherecommerce.android.sdk.endpoints.propay.PropayTerminal -
public class <span class="typeNameLabel">PropayTerminal</span> extends
Created by Admin on 11/14/2017.
-
<a name="field.summary"></a>
### Field Summary
Modifier and TypeField and Description`protected java.lang.String``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/endpoints/propay/PropayTerminal.html#terminalID">terminalID</a></span>` `protected java.lang.String``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/endpoints/propay/PropayTerminal.html#terminalKey">terminalKey</a></span>`
<a name="fields.inherited.from.class.com.anywherecommerce.android.sdk.Terminal"></a>
### Fields inherited from class com.anywherecommerce.android.sdk.[Terminal](#com/anywherecommerce/android/sdk/Terminal.html "class in com.anywherecommerce.android.sdk")
`
<a href="#com/anywherecommerce/android/sdk/Terminal.html#authenticationExpiryDate">authenticationExpiryDate</a>,
<a href="#com/anywherecommerce/android/sdk/Terminal.html#configuration">configuration</a>,
<a href="#com/anywherecommerce/android/sdk/Terminal.html#endpoint">endpoint</a>,
<a href="#com/anywherecommerce/android/sdk/Terminal.html#errorListener">errorListener</a>,
<a href="#com/anywherecommerce/android/sdk/Terminal.html#session">session</a>`
<a name="constructor.summary"></a>
### Constructor Summary
Constructor and Description`<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/endpoints/propay/PropayTerminal.html#PropayTerminal--">PropayTerminal</a></span>()` ```
<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/endpoints/propay/PropayTerminal.html#PropayTerminal-java.lang.String-java.lang.String-">PropayTerminal</a></span>(java.lang.String terminalID,
java.lang.String terminalKey)
```
<a name="method.summary"></a>
### Method Summary
Modifier and TypeMethod and Description`void``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/endpoints/propay/PropayTerminal.html#authenticate-com.anywherecommerce.android.sdk.endpoints.AuthenticationListener-">authenticate</a></span>(
<a href="#com/anywherecommerce/android/sdk/endpoints/AuthenticationListener.html" title="interface in com.anywherecommerce.android.sdk.endpoints">AuthenticationListener</a> listener)` `void``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/endpoints/propay/PropayTerminal.html#checkForUpdates-com.anywherecommerce.android.sdk.TaskWithReturnValueListener-">checkForUpdates</a></span>(
<a href="#com/anywherecommerce/android/sdk/TaskWithReturnValueListener.html" title="interface in com.anywherecommerce.android.sdk">TaskWithReturnValueListener</a><java.lang.Object> updateListener)` `
<a href="#com/anywherecommerce/android/sdk/endpoints/propay/PropayTerminalConfiguration.html" title="class in com.anywherecommerce.android.sdk.endpoints.propay">PropayTerminalConfiguration</a>``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/endpoints/propay/PropayTerminal.html#getConfiguration--">getConfiguration</a></span>()` `java.lang.String``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/endpoints/propay/PropayTerminal.html#getCorePayVersion--">getCorePayVersion</a></span>()` `
<a href="#com/anywherecommerce/android/sdk/endpoints/propay/PropayEndpoint.html" title="class in com.anywherecommerce.android.sdk.endpoints.propay">PropayEndpoint</a>``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/endpoints/propay/PropayTerminal.html#getEndpoint--">getEndpoint</a></span>()` `static
<a href="#com/anywherecommerce/android/sdk/endpoints/propay/PropayTerminal.html" title="class in com.anywherecommerce.android.sdk.endpoints.propay">PropayTerminal</a>``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/endpoints/propay/PropayTerminal.html#getInstance--">getInstance</a></span>()` `
<a href="#com/anywherecommerce/android/sdk/endpoints/propay/PropayTerminalMetadata.html" title="class in com.anywherecommerce.android.sdk.endpoints.propay">PropayTerminalMetadata</a>``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/endpoints/propay/PropayTerminal.html#getMetadata--">getMetadata</a></span>()` `java.lang.String``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/endpoints/propay/PropayTerminal.html#getTerminalID--">getTerminalID</a></span>()` `java.lang.String``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/endpoints/propay/PropayTerminal.html#getTerminalKey--">getTerminalKey</a></span>()` `protected void``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/endpoints/propay/PropayTerminal.html#onRestoreState--">onRestoreState</a></span>()` `void``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/endpoints/propay/PropayTerminal.html#setTerminalID-java.lang.String-">setTerminalID</a></span>(java.lang.String terminalID)` `void``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/endpoints/propay/PropayTerminal.html#setTerminalKey-java.lang.String-">setTerminalKey</a></span>(java.lang.String terminalKey)`
<a name="methods.inherited.from.class.com.anywherecommerce.android.sdk.Terminal"></a>
### Methods inherited from class com.anywherecommerce.android.sdk.[Terminal](#com/anywherecommerce/android/sdk/Terminal.html "class in com.anywherecommerce.android.sdk")
`
<a href="#com/anywherecommerce/android/sdk/Terminal.html#getLastSession--">getLastSession</a>,
<a href="#com/anywherecommerce/android/sdk/Terminal.html#getOperator--">getOperator</a>,
<a href="#com/anywherecommerce/android/sdk/Terminal.html#getSession--">getSession</a>,
<a href="#com/anywherecommerce/android/sdk/Terminal.html#initializeAs-com.anywherecommerce.android.sdk.Terminal-">initializeAs</a>,
<a href="#com/anywherecommerce/android/sdk/Terminal.html#initializeSession-com.anywherecommerce.android.sdk.User-">initializeSession</a>,
<a href="#com/anywherecommerce/android/sdk/Terminal.html#isActivated--">isActivated</a>,
<a href="#com/anywherecommerce/android/sdk/Terminal.html#isAuthenticated--">isAuthenticated</a>,
<a href="#com/anywherecommerce/android/sdk/Terminal.html#load-int-">load</a>,
<a href="#com/anywherecommerce/android/sdk/Terminal.html#load-java.lang.String-">load</a>,
<a href="#com/anywherecommerce/android/sdk/Terminal.html#logout--">logout</a>,
<a href="#com/anywherecommerce/android/sdk/Terminal.html#onError-com.anywherecommerce.android.sdk.GenericEventListenerWithParam-">onError</a>,
<a href="#com/anywherecommerce/android/sdk/Terminal.html#restoreState--">restoreState</a>,
<a href="#com/anywherecommerce/android/sdk/Terminal.html#saveState--">saveState</a>,
<a href="#com/anywherecommerce/android/sdk/Terminal.html#setConfiguration-com.anywherecommerce.android.sdk.configuration.Configuration-">setConfiguration</a>,
<a href="#com/anywherecommerce/android/sdk/Terminal.html#update-com.anywherecommerce.android.sdk.TaskWithReturnValueListener-">update</a>`
<a name="methods.inherited.from.class.java.lang.Object"></a>
### Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`
-
<a name="field.detail"></a>
### Field Detail
<a name="terminalID"></a>
#### terminalID
`protected java.lang.String terminalID`
<a name="terminalKey"></a>
#### terminalKey
`protected java.lang.String terminalKey`
<a name="constructor.detail"></a>
### Constructor Detail
<a name="PropayTerminal-java.lang.String-java.lang.String-"></a>
#### PropayTerminal
```
public PropayTerminal(java.lang.String terminalID,
java.lang.String terminalKey)
```
<a name="PropayTerminal--"></a>
#### PropayTerminal
`public PropayTerminal()`
<a name="method.detail"></a>
### Method Detail
<a name="getTerminalID--"></a>
#### getTerminalID
`public java.lang.String getTerminalID()`Specified by:`
<a href="#com/anywherecommerce/android/sdk/Terminal.html#getTerminalID--">getTerminalID</a>` in class `
<a href="#com/anywherecommerce/android/sdk/Terminal.html" title="class in com.anywherecommerce.android.sdk">Terminal</a>`
<a name="checkForUpdates-com.anywherecommerce.android.sdk.TaskWithReturnValueListener-"></a>
#### checkForUpdates
`public void checkForUpdates(
<a href="#com/anywherecommerce/android/sdk/TaskWithReturnValueListener.html" title="interface in com.anywherecommerce.android.sdk">TaskWithReturnValueListener</a><java.lang.Object> updateListener)`Specified by:`
<a href="#com/anywherecommerce/android/sdk/Terminal.html#checkForUpdates-com.anywherecommerce.android.sdk.TaskWithReturnValueListener-">checkForUpdates</a>` in class `
<a href="#com/anywherecommerce/android/sdk/Terminal.html" title="class in com.anywherecommerce.android.sdk">Terminal</a>`
<a name="setTerminalID-java.lang.String-"></a>
#### setTerminalID
`public void setTerminalID(java.lang.String terminalID)`
<a name="getTerminalKey--"></a>
#### getTerminalKey
`public java.lang.String getTerminalKey()`
<a name="setTerminalKey-java.lang.String-"></a>
#### setTerminalKey
`public void setTerminalKey(java.lang.String terminalKey)`
<a name="getInstance--"></a>
#### getInstance
`public static
<a href="#com/anywherecommerce/android/sdk/endpoints/propay/PropayTerminal.html" title="class in com.anywherecommerce.android.sdk.endpoints.propay">PropayTerminal</a> getInstance()`
<a name="getEndpoint--"></a>
#### getEndpoint
`public
<a href="#com/anywherecommerce/android/sdk/endpoints/propay/PropayEndpoint.html" title="class in com.anywherecommerce.android.sdk.endpoints.propay">PropayEndpoint</a> getEndpoint()`Overrides:`
<a href="#com/anywherecommerce/android/sdk/Terminal.html#getEndpoint--">getEndpoint</a>` in class `
<a href="#com/anywherecommerce/android/sdk/Terminal.html" title="class in com.anywherecommerce.android.sdk">Terminal</a>`
<a name="authenticate-com.anywherecommerce.android.sdk.endpoints.AuthenticationListener-"></a>
#### authenticate
`public void authenticate(
<a href="#com/anywherecommerce/android/sdk/endpoints/AuthenticationListener.html" title="interface in com.anywherecommerce.android.sdk.endpoints">AuthenticationListener</a> listener)`Specified by:`
<a href="#com/anywherecommerce/android/sdk/Terminal.html#authenticate-com.anywherecommerce.android.sdk.endpoints.AuthenticationListener-">authenticate</a>` in class `
<a href="#com/anywherecommerce/android/sdk/Terminal.html" title="class in com.anywherecommerce.android.sdk">Terminal</a>`
<a name="getCorePayVersion--"></a>
#### getCorePayVersion
`public java.lang.String getCorePayVersion()`
<a name="getConfiguration--"></a>
#### getConfiguration
`public
<a href="#com/anywherecommerce/android/sdk/endpoints/propay/PropayTerminalConfiguration.html" title="class in com.anywherecommerce.android.sdk.endpoints.propay">PropayTerminalConfiguration</a> getConfiguration()`Overrides:`
<a href="#com/anywherecommerce/android/sdk/Terminal.html#getConfiguration--">getConfiguration</a>` in class `
<a href="#com/anywherecommerce/android/sdk/Terminal.html" title="class in com.anywherecommerce.android.sdk">Terminal</a>`
<a name="getMetadata--"></a>
#### getMetadata
`public
<a href="#com/anywherecommerce/android/sdk/endpoints/propay/PropayTerminalMetadata.html" title="class in com.anywherecommerce.android.sdk.endpoints.propay">PropayTerminalMetadata</a> getMetadata()`Specified by:`
<a href="#com/anywherecommerce/android/sdk/Terminal.html#getMetadata--">getMetadata</a>` in class `
<a href="#com/anywherecommerce/android/sdk/Terminal.html" title="class in com.anywherecommerce.android.sdk">Terminal</a>`
<a name="onRestoreState--"></a>
#### onRestoreState
`protected void onRestoreState()`Specified by:`
<a href="#com/anywherecommerce/android/sdk/Terminal.html#onRestoreState--">onRestoreState</a>` in class `
<a href="#com/anywherecommerce/android/sdk/Terminal.html" title="class in com.anywherecommerce.android.sdk">Terminal</a>`