com.anywherecommerce.android.sdk.transactions
Interface CardTransaction
-
All Superinterfaces:java.lang.Cloneable, java.io.Serializable, TransactionAll Known Subinterfaces:EmvTransaction, KeyedTransaction, SwipeTransactionAll Known Implementing Classes:AnyPayCardTransaction, AnyPayEmvTransaction, AnyPayReferenceTransaction, AnyPaySwipeTransaction, PropayReferenceTransaction, PropayTransaction-
public interface <span class="typeNameLabel">CardTransaction</span> extends
Created by Admin on 11/13/2017.
-
<a name="method.summary"></a>
### Method Summary
Modifier and TypeMethod and Description`void``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/transactions/CardTransaction.html#execute-com.anywherecommerce.android.sdk.transactions.listener.CardTransactionListener-">execute</a></span>(
<a href="#com/anywherecommerce/android/sdk/transactions/listener/CardTransactionListener.html" title="interface in com.anywherecommerce.android.sdk.transactions.listener">CardTransactionListener</a> listener)` `
<a href="#com/anywherecommerce/android/sdk/models/AccountType.html" title="enum in com.anywherecommerce.android.sdk.models">AccountType</a>``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/transactions/CardTransaction.html#getAccountType--">getAccountType</a></span>()` `
<a href="#com/anywherecommerce/android/sdk/models/BatchStatus.html" title="enum in com.anywherecommerce.android.sdk.models">BatchStatus</a>``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/transactions/CardTransaction.html#getBatchStatus--">getBatchStatus</a></span>()` `java.lang.String``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/transactions/CardTransaction.html#getCardExpiryDate--">getCardExpiryDate</a></span>()` `java.lang.String``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/transactions/CardTransaction.html#getCardExpiryMonth--">getCardExpiryMonth</a></span>()` `java.lang.String``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/transactions/CardTransaction.html#getCardExpiryYear--">getCardExpiryYear</a></span>()` `java.lang.String``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/transactions/CardTransaction.html#getCardholderName--">getCardholderName</a></span>()` `
<a href="#com/anywherecommerce/android/sdk/models/CardholderVerificationMethod.html" title="enum in com.anywherecommerce.android.sdk.models">CardholderVerificationMethod</a>``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/transactions/CardTransaction.html#getCardholderVerificationMethod--">getCardholderVerificationMethod</a></span>()` `
<a href="#com/anywherecommerce/android/sdk/devices/CardReader.html" title="class in com.anywherecommerce.android.sdk.devices">CardReader</a>``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/transactions/CardTransaction.html#getCardReader--">getCardReader</a></span>()` `java.lang.String``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/transactions/CardTransaction.html#getCardType--">getCardType</a></span>()` `
<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/transactions/CardTransaction.html#getEntryMode--">getEntryMode</a></span>()` `java.lang.String``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/transactions/CardTransaction.html#getEPB--">getEPB</a></span>()` `java.lang.String``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/transactions/CardTransaction.html#getEPBKsn--">getEPBKsn</a></span>()` `java.lang.String``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/transactions/CardTransaction.html#getMaskedPAN--">getMaskedPAN</a></span>()` `java.lang.Object``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/transactions/CardTransaction.html#getSignature--">getSignature</a></span>()` `void``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/transactions/CardTransaction.html#releaseCardReader--">releaseCardReader</a></span>()` `void``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/transactions/CardTransaction.html#setAccountType-com.anywherecommerce.android.sdk.models.AccountType-">setAccountType</a></span>(
<a href="#com/anywherecommerce/android/sdk/models/AccountType.html" title="enum in com.anywherecommerce.android.sdk.models">AccountType</a> accountType)` `void``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/transactions/CardTransaction.html#setCardholderVerificationMethod-com.anywherecommerce.android.sdk.models.CardholderVerificationMethod-">setCardholderVerificationMethod</a></span>(
<a href="#com/anywherecommerce/android/sdk/models/CardholderVerificationMethod.html" title="enum in com.anywherecommerce.android.sdk.models">CardholderVerificationMethod</a> cardholderVerificationMethod)` `void``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/transactions/CardTransaction.html#setEPB-java.lang.String-">setEPB</a></span>(java.lang.String epb)` `void``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/transactions/CardTransaction.html#setEPBKsn-java.lang.String-">setEPBKsn</a></span>(java.lang.String ksn)` `void``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/transactions/CardTransaction.html#setOnAccountSelectionRequiredListener-com.anywherecommerce.android.sdk.GenericEventListener-">setOnAccountSelectionRequiredListener</a></span>(
<a href="#com/anywherecommerce/android/sdk/GenericEventListener.html" title="interface in com.anywherecommerce.android.sdk">GenericEventListener</a> listener)` `void``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/transactions/CardTransaction.html#setOnSignatureRequiredListener-com.anywherecommerce.android.sdk.GenericEventListener-">setOnSignatureRequiredListener</a></span>(
<a href="#com/anywherecommerce/android/sdk/GenericEventListener.html" title="interface in com.anywherecommerce.android.sdk">GenericEventListener</a> listener)` `void``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/transactions/CardTransaction.html#setSignature-java.lang.Object-">setSignature</a></span>(java.lang.Object signature)` `void``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/transactions/CardTransaction.html#useCardReader-com.anywherecommerce.android.sdk.devices.CardReader-">useCardReader</a></span>(
<a href="#com/anywherecommerce/android/sdk/devices/CardReader.html" title="class in com.anywherecommerce.android.sdk.devices">CardReader</a> reader)`
<a name="methods.inherited.from.class.com.anywherecommerce.android.sdk.transactions.Transaction"></a>
### Methods inherited from interface com.anywherecommerce.android.sdk.transactions.[Transaction](#com/anywherecommerce/android/sdk/transactions/Transaction.html "interface in com.anywherecommerce.android.sdk.transactions")
`
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#addCustomField-java.lang.String-java.lang.Object-">addCustomField</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#addCustomLineItem-com.anywherecommerce.android.sdk.models.CustomLineItem-">addCustomLineItem</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#addFee-com.anywherecommerce.android.sdk.models.FeeLineItem-">addFee</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#addTax-com.anywherecommerce.android.sdk.models.TaxLineItem-">addTax</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#applyGatewayResponse-com.anywherecommerce.android.sdk.models.GatewayResponse-">applyGatewayResponse</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#calculateAmounts--">calculateAmounts</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#cancel--">cancel</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#createReversal--">createReversal</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#execute-com.anywherecommerce.android.sdk.transactions.listener.TransactionListener-">execute</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#getAmountAvailableToRefund--">getAmountAvailableToRefund</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#getApprovalCode--">getApprovalCode</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#getApprovedAmount--">getApprovedAmount</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#getCurrency--">getCurrency</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#getCurrentStatus--">getCurrentStatus</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#getCustomerDetails--">getCustomerDetails</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#getCustomField-java.lang.String-">getCustomField</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#getCustomFields--">getCustomFields</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#getCustomLineItem-java.lang.String-">getCustomLineItem</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#getCustomLineItems--">getCustomLineItems</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#getEndpoint--">getEndpoint</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#getExternalId--">getExternalId</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#getFee-java.lang.String-">getFee</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#getFees--">getFees</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#getGatewayResponse--">getGatewayResponse</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#getGeolocationData--">getGeolocationData</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#getInternalId--">getInternalId</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#getKeywords--">getKeywords</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#getNotes--">getNotes</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#getOperator--">getOperator</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#getPaymentId--">getPaymentId</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#getPaymentMethod--">getPaymentMethod</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#getPaymentStatus--">getPaymentStatus</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#getPendingStatus--">getPendingStatus</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#getResponseText--">getResponseText</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#getStatusText--">getStatusText</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#getSubtotal--">getSubtotal</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#getTax-java.lang.String-">getTax</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#getTaxes--">getTaxes</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#getTip--">getTip</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#getTotalAmount--">getTotalAmount</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#getTransactionTime--">getTransactionTime</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#getTransactionType--">getTransactionType</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#getWarnings--">getWarnings</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#isApproved--">isApproved</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#isCancelled--">isCancelled</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#isExecuting--">isExecuting</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#isFinalized--">isFinalized</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#isPartiallyApproved--">isPartiallyApproved</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#isSuspended--">isSuspended</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#persist--">persist</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#proceed--">proceed</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#raiseWarning-com.anywherecommerce.android.sdk.MeaningfulMessage-">raiseWarning</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#removeCustomField-java.lang.String-">removeCustomField</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#removeCustomLineItem-com.anywherecommerce.android.sdk.models.CustomLineItem-">removeCustomLineItem</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#removeFee-com.anywherecommerce.android.sdk.models.FeeLineItem-">removeFee</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#removeTax-com.anywherecommerce.android.sdk.models.TaxLineItem-">removeTax</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#removeTip--">removeTip</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#sendReceipt-java.lang.String-com.anywherecommerce.android.sdk.RequestListener-">sendReceipt</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#setCurrency-java.util.Currency-">setCurrency</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#setCurrency-java.lang.String-">setCurrency</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#setCustomerDetails-com.anywherecommerce.android.sdk.models.CustomerDetails-">setCustomerDetails</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#setEndpoint-com.anywherecommerce.android.sdk.Endpoint-">setEndpoint</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#setGeolocationData-com.anywherecommerce.android.sdk.models.GeolocationData-">setGeolocationData</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#setKeywords-java.lang.String-">setKeywords</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#setNotes-java.lang.String-">setNotes</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#setOnWarningListener-com.anywherecommerce.android.sdk.MeaningfulMessageListener-">setOnWarningListener</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#setOperator-java.lang.String-">setOperator</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#setPaymentMethod-com.anywherecommerce.android.sdk.models.PaymentMethod-">setPaymentMethod</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#setResponseText-java.lang.String-">setResponseText</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#setSubtotal-com.anywherecommerce.android.sdk.util.Amount-">setSubtotal</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#setTip-com.anywherecommerce.android.sdk.models.TipLineItem-">setTip</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#setTotalAmount-com.anywherecommerce.android.sdk.util.Amount-">setTotalAmount</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#setTransactionType-com.anywherecommerce.android.sdk.models.TransactionType-">setTransactionType</a>,
<a href="#com/anywherecommerce/android/sdk/transactions/Transaction.html#suspend--">suspend</a>`
-
<a name="method.detail"></a>
### Method Detail
<a name="getEntryMode--"></a>
#### getEntryMode
`
<a href="#com/anywherecommerce/android/sdk/devices/CardInterface.html" title="enum in com.anywherecommerce.android.sdk.devices">CardInterface</a> getEntryMode()`
<a name="getCardholderVerificationMethod--"></a>
#### getCardholderVerificationMethod
`
<a href="#com/anywherecommerce/android/sdk/models/CardholderVerificationMethod.html" title="enum in com.anywherecommerce.android.sdk.models">CardholderVerificationMethod</a> getCardholderVerificationMethod()`
<a name="setCardholderVerificationMethod-com.anywherecommerce.android.sdk.models.CardholderVerificationMethod-"></a>
#### setCardholderVerificationMethod
`void setCardholderVerificationMethod(
<a href="#com/anywherecommerce/android/sdk/models/CardholderVerificationMethod.html" title="enum in com.anywherecommerce.android.sdk.models">CardholderVerificationMethod</a> cardholderVerificationMethod)`
<a name="getCardType--"></a>
#### getCardType
`java.lang.String getCardType()`
<a name="getBatchStatus--"></a>
#### getBatchStatus
`
<a href="#com/anywherecommerce/android/sdk/models/BatchStatus.html" title="enum in com.anywherecommerce.android.sdk.models">BatchStatus</a> getBatchStatus()`
<a name="getCardExpiryMonth--"></a>
#### getCardExpiryMonth
`java.lang.String getCardExpiryMonth()`
<a name="getCardExpiryYear--"></a>
#### getCardExpiryYear
`java.lang.String getCardExpiryYear()`
<a name="getCardExpiryDate--"></a>
#### getCardExpiryDate
`java.lang.String getCardExpiryDate()`
<a name="getMaskedPAN--"></a>
#### getMaskedPAN
`java.lang.String getMaskedPAN()`
<a name="getCardholderName--"></a>
#### getCardholderName
`java.lang.String getCardholderName()`
<a name="useCardReader-com.anywherecommerce.android.sdk.devices.CardReader-"></a>
#### useCardReader
`void useCardReader(
<a href="#com/anywherecommerce/android/sdk/devices/CardReader.html" title="class in com.anywherecommerce.android.sdk.devices">CardReader</a> reader)`
<a name="releaseCardReader--"></a>
#### releaseCardReader
`void releaseCardReader()`
<a name="getCardReader--"></a>
#### getCardReader
`
<a href="#com/anywherecommerce/android/sdk/devices/CardReader.html" title="class in com.anywherecommerce.android.sdk.devices">CardReader</a> getCardReader()`
<a name="getSignature--"></a>
#### getSignature
`java.lang.Object getSignature()`
<a name="setSignature-java.lang.Object-"></a>
#### setSignature
`void setSignature(java.lang.Object signature)`
<a name="setOnSignatureRequiredListener-com.anywherecommerce.android.sdk.GenericEventListener-"></a>
#### setOnSignatureRequiredListener
`void setOnSignatureRequiredListener(
<a href="#com/anywherecommerce/android/sdk/GenericEventListener.html" title="interface in com.anywherecommerce.android.sdk">GenericEventListener</a> listener)`
<a name="setAccountType-com.anywherecommerce.android.sdk.models.AccountType-"></a>
#### setAccountType
`void setAccountType(
<a href="#com/anywherecommerce/android/sdk/models/AccountType.html" title="enum in com.anywherecommerce.android.sdk.models">AccountType</a> accountType)`
<a name="getAccountType--"></a>
#### getAccountType
`
<a href="#com/anywherecommerce/android/sdk/models/AccountType.html" title="enum in com.anywherecommerce.android.sdk.models">AccountType</a> getAccountType()`
<a name="setOnAccountSelectionRequiredListener-com.anywherecommerce.android.sdk.GenericEventListener-"></a>
#### setOnAccountSelectionRequiredListener
`void setOnAccountSelectionRequiredListener(
<a href="#com/anywherecommerce/android/sdk/GenericEventListener.html" title="interface in com.anywherecommerce.android.sdk">GenericEventListener</a> listener)`
<a name="execute-com.anywherecommerce.android.sdk.transactions.listener.CardTransactionListener-"></a>
#### execute
`void execute(
<a href="#com/anywherecommerce/android/sdk/transactions/listener/CardTransactionListener.html" title="interface in com.anywherecommerce.android.sdk.transactions.listener">CardTransactionListener</a> listener)`
<a name="setEPB-java.lang.String-"></a>
#### setEPB
`void setEPB(java.lang.String epb)`
<a name="getEPB--"></a>
#### getEPB
`java.lang.String getEPB()`
<a name="setEPBKsn-java.lang.String-"></a>
#### setEPBKsn
`void setEPBKsn(java.lang.String ksn)`
<a name="getEPBKsn--"></a>
#### getEPBKsn
`java.lang.String getEPBKsn()`