com.anywherecommerce.android.sdk.devices
Class TransactionWorkflow
-
java.lang.Object
-
com.anywherecommerce.android.sdk.devices.Workflow
com.anywherecommerce.android.sdk.devices.TransactionWorkflow -
Direct Known Subclasses:EMVWorkflow, KeyedTransactionWorkflow, RamblerTransactionWorkflow, ReferenceTransactionWorkflow-
public abstract class <span class="typeNameLabel">TransactionWorkflow</span> extends
Created by Admin on 10/16/2017.
-
<a name="field.summary"></a>
### Field Summary
Modifier and TypeField and Description`protected
<a href="#com/anywherecommerce/android/sdk/MeaningfulMessageListener.html" title="interface in com.anywherecommerce.android.sdk">MeaningfulMessageListener</a>``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/devices/TransactionWorkflow.html#notificationEventListener">notificationEventListener</a></span>` `protected
<a href="#com/anywherecommerce/android/sdk/GenericEventListener.html" title="interface in com.anywherecommerce.android.sdk">GenericEventListener</a>``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/devices/TransactionWorkflow.html#signatureRequiredListener">signatureRequiredListener</a></span>` `protected
<a href="#com/anywherecommerce/android/sdk/devices/ActionStatus.html" title="enum in com.anywherecommerce.android.sdk.devices">ActionStatus</a>``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/devices/TransactionWorkflow.html#status">status</a></span>` `protected
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html" title="interface in com.anywherecommerce.android.sdk.transactions">Transaction</a>``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/devices/TransactionWorkflow.html#transaction">transaction</a></span>` `protected
<a href="#com/anywherecommerce/android/sdk/GenericEventListener.html" title="interface in com.anywherecommerce.android.sdk">GenericEventListener</a>``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/devices/TransactionWorkflow.html#transactionCompleteListener">transactionCompleteListener</a></span>` `protected
<a href="#com/anywherecommerce/android/sdk/MeaningfulErrorListener.html" title="interface in com.anywherecommerce.android.sdk">MeaningfulErrorListener</a>``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/devices/TransactionWorkflow.html#transactionFailedListener">transactionFailedListener</a></span>`
<a name="fields.inherited.from.class.com.anywherecommerce.android.sdk.devices.Workflow"></a>
### Fields inherited from class com.anywherecommerce.android.sdk.devices.[Workflow](#com/anywherecommerce/android/sdk/devices/Workflow.html "class in com.anywherecommerce.android.sdk.devices")
`
<a href="#com/anywherecommerce/android/sdk/devices/Workflow.html#currentAction">currentAction</a>,
<a href="#com/anywherecommerce/android/sdk/devices/Workflow.html#nextAction">nextAction</a>`
<a name="constructor.summary"></a>
### Constructor Summary
Constructor and Description`<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/devices/TransactionWorkflow.html#TransactionWorkflow-com.anywherecommerce.android.sdk.transactions.Transaction-">TransactionWorkflow</a></span>(
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html" title="interface in com.anywherecommerce.android.sdk.transactions">Transaction</a> t)`
<a name="method.summary"></a>
### Method Summary
Modifier and TypeMethod and Description`protected void``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/devices/TransactionWorkflow.html#fireNotificationEvent-com.anywherecommerce.android.sdk.MeaningfulMessage-">fireNotificationEvent</a></span>(
<a href="#com/anywherecommerce/android/sdk/MeaningfulMessage.html" title="class in com.anywherecommerce.android.sdk">MeaningfulMessage</a> message)` `protected void``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/devices/TransactionWorkflow.html#fireTransactionComplete--">fireTransactionComplete</a></span>()` `protected void``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/devices/TransactionWorkflow.html#fireTransactionFailed-com.anywherecommerce.android.sdk.MeaningfulError-">fireTransactionFailed</a></span>(
<a href="#com/anywherecommerce/android/sdk/MeaningfulError.html" title="class in com.anywherecommerce.android.sdk">MeaningfulError</a> error)` `
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html" title="interface in com.anywherecommerce.android.sdk.transactions">Transaction</a>``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/devices/TransactionWorkflow.html#getTransaction--">getTransaction</a></span>()` `abstract boolean``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/devices/TransactionWorkflow.html#isCancellable--">isCancellable</a></span>()` `
<a href="#com/anywherecommerce/android/sdk/devices/TransactionWorkflow.html" title="class in com.anywherecommerce.android.sdk.devices">TransactionWorkflow</a>``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/devices/TransactionWorkflow.html#onNotificationEvent-com.anywherecommerce.android.sdk.MeaningfulMessageListener-">onNotificationEvent</a></span>(
<a href="#com/anywherecommerce/android/sdk/MeaningfulMessageListener.html" title="interface in com.anywherecommerce.android.sdk">MeaningfulMessageListener</a> listener)` `
<a href="#com/anywherecommerce/android/sdk/devices/TransactionWorkflow.html" title="class in com.anywherecommerce.android.sdk.devices">TransactionWorkflow</a>``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/devices/TransactionWorkflow.html#onSignatureRequired-com.anywherecommerce.android.sdk.GenericEventListener-">onSignatureRequired</a></span>(
<a href="#com/anywherecommerce/android/sdk/GenericEventListener.html" title="interface in com.anywherecommerce.android.sdk">GenericEventListener</a> listener)` `
<a href="#com/anywherecommerce/android/sdk/devices/TransactionWorkflow.html" title="class in com.anywherecommerce.android.sdk.devices">TransactionWorkflow</a>``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/devices/TransactionWorkflow.html#onTransactionComplete-com.anywherecommerce.android.sdk.GenericEventListener-">onTransactionComplete</a></span>(
<a href="#com/anywherecommerce/android/sdk/GenericEventListener.html" title="interface in com.anywherecommerce.android.sdk">GenericEventListener</a> listener)` `
<a href="#com/anywherecommerce/android/sdk/devices/TransactionWorkflow.html" title="class in com.anywherecommerce.android.sdk.devices">TransactionWorkflow</a>``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/devices/TransactionWorkflow.html#onTransactionFailed-com.anywherecommerce.android.sdk.MeaningfulErrorListener-">onTransactionFailed</a></span>(
<a href="#com/anywherecommerce/android/sdk/MeaningfulErrorListener.html" title="interface in com.anywherecommerce.android.sdk">MeaningfulErrorListener</a> listener)`
<a name="methods.inherited.from.class.com.anywherecommerce.android.sdk.devices.Workflow"></a>
### Methods inherited from class com.anywherecommerce.android.sdk.devices.[Workflow](#com/anywherecommerce/android/sdk/devices/Workflow.html "class in com.anywherecommerce.android.sdk.devices")
`
<a href="#com/anywherecommerce/android/sdk/devices/Workflow.html#cancel--">cancel</a>,
<a href="#com/anywherecommerce/android/sdk/devices/Workflow.html#execute--">execute</a>,
<a href="#com/anywherecommerce/android/sdk/devices/Workflow.html#proceed--">proceed</a>,
<a href="#com/anywherecommerce/android/sdk/devices/Workflow.html#setNextAction-com.anywherecommerce.android.sdk.devices.WorkflowAction-">setNextAction</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="transaction"></a>
#### transaction
`protected
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html" title="interface in com.anywherecommerce.android.sdk.transactions">Transaction</a> transaction`
<a name="status"></a>
#### status
`protected
<a href="#com/anywherecommerce/android/sdk/devices/ActionStatus.html" title="enum in com.anywherecommerce.android.sdk.devices">ActionStatus</a> status`
<a name="signatureRequiredListener"></a>
#### signatureRequiredListener
`protected
<a href="#com/anywherecommerce/android/sdk/GenericEventListener.html" title="interface in com.anywherecommerce.android.sdk">GenericEventListener</a> signatureRequiredListener`
<a name="transactionCompleteListener"></a>
#### transactionCompleteListener
`protected
<a href="#com/anywherecommerce/android/sdk/GenericEventListener.html" title="interface in com.anywherecommerce.android.sdk">GenericEventListener</a> transactionCompleteListener`
<a name="transactionFailedListener"></a>
#### transactionFailedListener
`protected
<a href="#com/anywherecommerce/android/sdk/MeaningfulErrorListener.html" title="interface in com.anywherecommerce.android.sdk">MeaningfulErrorListener</a> transactionFailedListener`
<a name="notificationEventListener"></a>
#### notificationEventListener
`protected
<a href="#com/anywherecommerce/android/sdk/MeaningfulMessageListener.html" title="interface in com.anywherecommerce.android.sdk">MeaningfulMessageListener</a> notificationEventListener`
<a name="constructor.detail"></a>
### Constructor Detail
<a name="TransactionWorkflow-com.anywherecommerce.android.sdk.transactions.Transaction-"></a>
#### TransactionWorkflow
`public TransactionWorkflow(
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html" title="interface in com.anywherecommerce.android.sdk.transactions">Transaction</a> t)`
<a name="method.detail"></a>
### Method Detail
<a name="getTransaction--"></a>
#### getTransaction
`public
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html" title="interface in com.anywherecommerce.android.sdk.transactions">Transaction</a> getTransaction()`
<a name="isCancellable--"></a>
#### isCancellable
`public abstract boolean isCancellable()`
<a name="onSignatureRequired-com.anywherecommerce.android.sdk.GenericEventListener-"></a>
#### onSignatureRequired
`public
<a href="#com/anywherecommerce/android/sdk/devices/TransactionWorkflow.html" title="class in com.anywherecommerce.android.sdk.devices">TransactionWorkflow</a> onSignatureRequired(
<a href="#com/anywherecommerce/android/sdk/GenericEventListener.html" title="interface in com.anywherecommerce.android.sdk">GenericEventListener</a> listener)`
<a name="onTransactionComplete-com.anywherecommerce.android.sdk.GenericEventListener-"></a>
#### onTransactionComplete
`public
<a href="#com/anywherecommerce/android/sdk/devices/TransactionWorkflow.html" title="class in com.anywherecommerce.android.sdk.devices">TransactionWorkflow</a> onTransactionComplete(
<a href="#com/anywherecommerce/android/sdk/GenericEventListener.html" title="interface in com.anywherecommerce.android.sdk">GenericEventListener</a> listener)`
<a name="fireTransactionComplete--"></a>
#### fireTransactionComplete
`protected void fireTransactionComplete()`
<a name="onTransactionFailed-com.anywherecommerce.android.sdk.MeaningfulErrorListener-"></a>
#### onTransactionFailed
`public
<a href="#com/anywherecommerce/android/sdk/devices/TransactionWorkflow.html" title="class in com.anywherecommerce.android.sdk.devices">TransactionWorkflow</a> onTransactionFailed(
<a href="#com/anywherecommerce/android/sdk/MeaningfulErrorListener.html" title="interface in com.anywherecommerce.android.sdk">MeaningfulErrorListener</a> listener)`
<a name="fireTransactionFailed-com.anywherecommerce.android.sdk.MeaningfulError-"></a>
#### fireTransactionFailed
`protected void fireTransactionFailed(
<a href="#com/anywherecommerce/android/sdk/MeaningfulError.html" title="class in com.anywherecommerce.android.sdk">MeaningfulError</a> error)`
<a name="onNotificationEvent-com.anywherecommerce.android.sdk.MeaningfulMessageListener-"></a>
#### onNotificationEvent
`public
<a href="#com/anywherecommerce/android/sdk/devices/TransactionWorkflow.html" title="class in com.anywherecommerce.android.sdk.devices">TransactionWorkflow</a> onNotificationEvent(
<a href="#com/anywherecommerce/android/sdk/MeaningfulMessageListener.html" title="interface in com.anywherecommerce.android.sdk">MeaningfulMessageListener</a> listener)`
<a name="fireNotificationEvent-com.anywherecommerce.android.sdk.MeaningfulMessage-"></a>
#### fireNotificationEvent
`protected void fireNotificationEvent(
<a href="#com/anywherecommerce/android/sdk/MeaningfulMessage.html" title="class in com.anywherecommerce.android.sdk">MeaningfulMessage</a> message)`