BBPOSDeviceTransactionWorkflow

com.anywherecommerce.android.sdk.devices.bbpos

Class BBPOSDeviceTransactionWorkflow

EMVWorkflow

Created by Admin on 9/28/2017.



- 

<a name="field.summary"></a>

### Field Summary
    
    Modifier and TypeField and Description`boolean``<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceTransactionWorkflow.html#autoSelectApplication">autoSelectApplication</a></span>` `boolean``<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceTransactionWorkflow.html#autoSelectBluetoothDevice">autoSelectBluetoothDevice</a></span>` `protected java.lang.Class``<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceTransactionWorkflow.html#boundDeviceType">boundDeviceType</a></span>` `protected java.util.Hashtable<java.lang.String,java.lang.Object>``<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceTransactionWorkflow.html#configuration">configuration</a></span>` `protected static int``<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceTransactionWorkflow.html#DEFAULT_COMMAND_TIMEOUT">DEFAULT_COMMAND_TIMEOUT</a></span>` `protected java.util.EnumSet<

<a href="#com/anywherecommerce/android/sdk/devices/CardInterface.html" title="enum in com.anywherecommerce.android.sdk.devices">CardInterface</a>>``<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceTransactionWorkflow.html#enabledInterfaces">enabledInterfaces</a></span>` 
    

<a name="fields.inherited.from.class.com.anywherecommerce.android.sdk.devices.EMVWorkflow"></a>

### Fields inherited from class com.anywherecommerce.android.sdk.devices.[EMVWorkflow](#com/anywherecommerce/android/sdk/devices/EMVWorkflow.html "class in com.anywherecommerce.android.sdk.devices")
          
          `

<a href="#com/anywherecommerce/android/sdk/devices/EMVWorkflow.html#selectedApplicationRequiredListener">selectedApplicationRequiredListener</a>`
    
    
    

<a name="fields.inherited.from.class.com.anywherecommerce.android.sdk.devices.TransactionWorkflow"></a>

### Fields inherited from class com.anywherecommerce.android.sdk.devices.[TransactionWorkflow](#com/anywherecommerce/android/sdk/devices/TransactionWorkflow.html "class in com.anywherecommerce.android.sdk.devices")
          
          `

<a href="#com/anywherecommerce/android/sdk/devices/TransactionWorkflow.html#notificationEventListener">notificationEventListener</a>, 

<a href="#com/anywherecommerce/android/sdk/devices/TransactionWorkflow.html#signatureRequiredListener">signatureRequiredListener</a>, 

<a href="#com/anywherecommerce/android/sdk/devices/TransactionWorkflow.html#status">status</a>, 

<a href="#com/anywherecommerce/android/sdk/devices/TransactionWorkflow.html#transaction">transaction</a>, 

<a href="#com/anywherecommerce/android/sdk/devices/TransactionWorkflow.html#transactionCompleteListener">transactionCompleteListener</a>, 

<a href="#com/anywherecommerce/android/sdk/devices/TransactionWorkflow.html#transactionFailedListener">transactionFailedListener</a>`
    
    
    

<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/bbpos/BBPOSDeviceTransactionWorkflow.html#BBPOSDeviceTransactionWorkflow-java.lang.Class-com.anywherecommerce.android.sdk.transactions.Transaction-">BBPOSDeviceTransactionWorkflow</a></span>(java.lang.Class forDeviceType,
<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`void``<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceTransactionWorkflow.html#cancel--">cancel</a></span>()` `void``<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceTransactionWorkflow.html#execute--">execute</a></span>()` `java.lang.Object``<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceTransactionWorkflow.html#getConfigurationParameter-java.lang.String-">getConfigurationParameter</a></span>(java.lang.String name)` `protected java.util.Hashtable<java.lang.String,java.lang.Object>``<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceTransactionWorkflow.html#getDefaultEMVConfiguration--">getDefaultEMVConfiguration</a></span>()` `java.util.EnumSet<

<a href="#com/anywherecommerce/android/sdk/devices/CardInterface.html" title="enum in com.anywherecommerce.android.sdk.devices">CardInterface</a>>``<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceTransactionWorkflow.html#getEnabledInterfaces--">getEnabledInterfaces</a></span>()` `boolean``<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceTransactionWorkflow.html#isCancellable--">isCancellable</a></span>()` `

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html" title="class in com.anywherecommerce.android.sdk.devices.bbpos">BBPOSDeviceWorkflowAction</a>``<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceTransactionWorkflow.html#selectAccountForDebit--">selectAccountForDebit</a></span>()` `

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html" title="class in com.anywherecommerce.android.sdk.devices.bbpos">BBPOSDeviceWorkflowAction</a>``<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceTransactionWorkflow.html#selectApplication-int-">selectApplication</a></span>(int selectedIndex)` `

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html" title="class in com.anywherecommerce.android.sdk.devices.bbpos">BBPOSDeviceWorkflowAction</a>``<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceTransactionWorkflow.html#setAmount--">setAmount</a></span>()` `void````
    <span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceTransactionWorkflow.html#setConfigurationParameter-java.lang.String-java.lang.Object-">setConfigurationParameter</a></span>(java.lang.String name,
                             java.lang.Object value)
    ``` `protected 

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html" title="class in com.anywherecommerce.android.sdk.devices.bbpos">BBPOSDeviceWorkflowAction</a>``<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceTransactionWorkflow.html#startEmv--">startEmv</a></span>()` `

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html" title="class in com.anywherecommerce.android.sdk.devices.bbpos">BBPOSDeviceWorkflowAction</a>``<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceTransactionWorkflow.html#startPinEntry--">startPinEntry</a></span>()` 
    

<a name="methods.inherited.from.class.com.anywherecommerce.android.sdk.devices.EMVWorkflow"></a>

### Methods inherited from class com.anywherecommerce.android.sdk.devices.[EMVWorkflow](#com/anywherecommerce/android/sdk/devices/EMVWorkflow.html "class in com.anywherecommerce.android.sdk.devices")
          
          `

<a href="#com/anywherecommerce/android/sdk/devices/EMVWorkflow.html#onSelectApplicationRequired-com.anywherecommerce.android.sdk.GenericEventListenerWithParam-">onSelectApplicationRequired</a>`
    
    
    

<a name="methods.inherited.from.class.com.anywherecommerce.android.sdk.devices.TransactionWorkflow"></a>

### Methods inherited from class com.anywherecommerce.android.sdk.devices.[TransactionWorkflow](#com/anywherecommerce/android/sdk/devices/TransactionWorkflow.html "class in com.anywherecommerce.android.sdk.devices")
          
          `

<a href="#com/anywherecommerce/android/sdk/devices/TransactionWorkflow.html#fireNotificationEvent-com.anywherecommerce.android.sdk.MeaningfulMessage-">fireNotificationEvent</a>, 

<a href="#com/anywherecommerce/android/sdk/devices/TransactionWorkflow.html#fireTransactionComplete--">fireTransactionComplete</a>, 

<a href="#com/anywherecommerce/android/sdk/devices/TransactionWorkflow.html#fireTransactionFailed-com.anywherecommerce.android.sdk.MeaningfulError-">fireTransactionFailed</a>, 

<a href="#com/anywherecommerce/android/sdk/devices/TransactionWorkflow.html#getTransaction--">getTransaction</a>, 

<a href="#com/anywherecommerce/android/sdk/devices/TransactionWorkflow.html#onNotificationEvent-com.anywherecommerce.android.sdk.MeaningfulMessageListener-">onNotificationEvent</a>, 

<a href="#com/anywherecommerce/android/sdk/devices/TransactionWorkflow.html#onSignatureRequired-com.anywherecommerce.android.sdk.GenericEventListener-">onSignatureRequired</a>, 

<a href="#com/anywherecommerce/android/sdk/devices/TransactionWorkflow.html#onTransactionComplete-com.anywherecommerce.android.sdk.GenericEventListener-">onTransactionComplete</a>, 

<a href="#com/anywherecommerce/android/sdk/devices/TransactionWorkflow.html#onTransactionFailed-com.anywherecommerce.android.sdk.MeaningfulErrorListener-">onTransactionFailed</a>`
    
    
    

<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#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="DEFAULT_COMMAND_TIMEOUT"></a>
    

#### DEFAULT\_COMMAND\_TIMEOUT
          
          `protected static int DEFAULT_COMMAND_TIMEOUT`
<a name="boundDeviceType"></a>
    

#### boundDeviceType
          
          `protected java.lang.Class boundDeviceType`
<a name="autoSelectBluetoothDevice"></a>
    

#### autoSelectBluetoothDevice
          
          `public boolean autoSelectBluetoothDevice`
<a name="autoSelectApplication"></a>
    

#### autoSelectApplication
          
          `public boolean autoSelectApplication`
<a name="configuration"></a>
    

#### configuration
          
          `protected java.util.Hashtable<java.lang.String,java.lang.Object> configuration`
<a name="enabledInterfaces"></a>
    

#### enabledInterfaces
          
          `protected java.util.EnumSet<

<a href="#com/anywherecommerce/android/sdk/devices/CardInterface.html" title="enum in com.anywherecommerce.android.sdk.devices">CardInterface</a>> enabledInterfaces`




<a name="constructor.detail"></a>

### Constructor Detail
<a name="BBPOSDeviceTransactionWorkflow-java.lang.Class-com.anywherecommerce.android.sdk.transactions.Transaction-"></a>
    

#### BBPOSDeviceTransactionWorkflow
          
          ```
          public BBPOSDeviceTransactionWorkflow(java.lang.Class forDeviceType,
<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="setConfigurationParameter-java.lang.String-java.lang.Object-"></a>
    

#### setConfigurationParameter
          
          ```
          public void setConfigurationParameter(java.lang.String name,
                                                java.lang.Object value)
          ```
<a name="getConfigurationParameter-java.lang.String-"></a>
    

#### getConfigurationParameter
          
          `public java.lang.Object getConfigurationParameter(java.lang.String name)`
<a name="getEnabledInterfaces--"></a>
    

#### getEnabledInterfaces
          
          `public java.util.EnumSet<

<a href="#com/anywherecommerce/android/sdk/devices/CardInterface.html" title="enum in com.anywherecommerce.android.sdk.devices">CardInterface</a>> getEnabledInterfaces()`
<a name="getDefaultEMVConfiguration--"></a>
    

#### getDefaultEMVConfiguration
          
          `protected java.util.Hashtable<java.lang.String,java.lang.Object> getDefaultEMVConfiguration()`
<a name="execute--"></a>
    

#### execute
          
          `public void execute()`Specified by:`

<a href="#com/anywherecommerce/android/sdk/devices/Workflow.html#execute--">execute</a>` in class `

<a href="#com/anywherecommerce/android/sdk/devices/Workflow.html" title="class in com.anywherecommerce.android.sdk.devices">Workflow</a>`
<a name="startEmv--"></a>
    

#### startEmv
          
          `protected 

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html" title="class in com.anywherecommerce.android.sdk.devices.bbpos">BBPOSDeviceWorkflowAction</a> startEmv()`
<a name="setAmount--"></a>
    

#### setAmount
          
          `public 

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html" title="class in com.anywherecommerce.android.sdk.devices.bbpos">BBPOSDeviceWorkflowAction</a> setAmount()`
<a name="selectApplication-int-"></a>
    

#### selectApplication
          
          `public 

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html" title="class in com.anywherecommerce.android.sdk.devices.bbpos">BBPOSDeviceWorkflowAction</a> selectApplication(int selectedIndex)`
<a name="selectAccountForDebit--"></a>
    

#### selectAccountForDebit
          
          `public 

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html" title="class in com.anywherecommerce.android.sdk.devices.bbpos">BBPOSDeviceWorkflowAction</a> selectAccountForDebit()`
<a name="startPinEntry--"></a>
    

#### startPinEntry
          
          `public 

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html" title="class in com.anywherecommerce.android.sdk.devices.bbpos">BBPOSDeviceWorkflowAction</a> startPinEntry()`
<a name="cancel--"></a>
    

#### cancel
          
          `public void cancel()`Overrides:`

<a href="#com/anywherecommerce/android/sdk/devices/Workflow.html#cancel--">cancel</a>` in class `

<a href="#com/anywherecommerce/android/sdk/devices/Workflow.html" title="class in com.anywherecommerce.android.sdk.devices">Workflow</a>`
<a name="isCancellable--"></a>
    

#### isCancellable
          
          `public boolean isCancellable()`Specified by:`

<a href="#com/anywherecommerce/android/sdk/devices/TransactionWorkflow.html#isCancellable--">isCancellable</a>` in class `

<a href="#com/anywherecommerce/android/sdk/devices/TransactionWorkflow.html" title="class in com.anywherecommerce.android.sdk.devices">TransactionWorkflow</a>`