Package com.six.timapi
Class FeaturesPayment
- java.lang.Object
-
- com.six.timapi.FeaturesPayment
-
public class FeaturesPayment extends Object
Payment features supported by the terminal. Immutable class.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FeaturesPayment.AgeCheckSupport
Age check support.
-
Constructor Summary
Constructors Constructor Description FeaturesPayment(boolean dcc, boolean declinedReceipts, boolean partialApproval, boolean partialCommit, boolean ep2Available, boolean ep2Dcc, boolean ep2DeclinedReceipts, boolean ep2MultiAccountSelection, boolean ep2MultiContractSelection, boolean ep2Installment, boolean ep2Giftcard, boolean accountSelection, boolean mcr, boolean surcharge, FeaturesPayment.AgeCheckSupport ep2AgeCheck, boolean ctapAvailable)
Create hardware features.FeaturesPayment(com.six.timapi.internal.TimSavedState savedState)
For internal use only.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canAccountSelection()
Support for account selection.boolean
canDcc()
DCC support.boolean
canDeclinedReceipts()
Support for "Declined Receipts".boolean
canEp2Dcc()
DCC support on EP2 brands.boolean
canEp2DeclinedReceipts()
Support for "Declined Receipts" on EP2 brands.boolean
canEp2Giftcard()
Support for giftcard functions.boolean
canEp2Installment()
Support for installments.boolean
canEp2MultiAccountSelection()
Support for multiple account selection.boolean
canEp2MultiContractSelection()
Support for multiple contract selection.boolean
canMcr()
Support for merchant choice routing.boolean
canPartialApproval()
Support for "Partial Approval".boolean
canPartialCommit()
Support for "Partial Commit".boolean
canSurcharge()
Support for surcharge.com.six.timapi.internal.TimSavedState
createSavedState()
For internal use only.FeaturesPayment.AgeCheckSupport
getEp2AgeCheck()
EP2 AgeCheck is available on the terminal.boolean
isCtapAvailable()
boolean
isEp2Available()
EP2 payment protocol is available on the terminal.String
toString()
String representation for debugging purpose.
-
-
-
Constructor Detail
-
FeaturesPayment
public FeaturesPayment(boolean dcc, boolean declinedReceipts, boolean partialApproval, boolean partialCommit, boolean ep2Available, boolean ep2Dcc, boolean ep2DeclinedReceipts, boolean ep2MultiAccountSelection, boolean ep2MultiContractSelection, boolean ep2Installment, boolean ep2Giftcard, boolean accountSelection, boolean mcr, boolean surcharge, FeaturesPayment.AgeCheckSupport ep2AgeCheck, boolean ctapAvailable)
Create hardware features.
-
FeaturesPayment
public FeaturesPayment(com.six.timapi.internal.TimSavedState savedState)
For internal use only.
-
-
Method Detail
-
canDcc
public boolean canDcc()
DCC support.
-
canDeclinedReceipts
public boolean canDeclinedReceipts()
Support for "Declined Receipts".
-
canPartialApproval
public boolean canPartialApproval()
Support for "Partial Approval".
-
canPartialCommit
public boolean canPartialCommit()
Support for "Partial Commit".
-
isEp2Available
public boolean isEp2Available()
EP2 payment protocol is available on the terminal.
-
canEp2Dcc
public boolean canEp2Dcc()
DCC support on EP2 brands.
-
canEp2DeclinedReceipts
public boolean canEp2DeclinedReceipts()
Support for "Declined Receipts" on EP2 brands.
-
canEp2MultiAccountSelection
public boolean canEp2MultiAccountSelection()
Support for multiple account selection.
-
canEp2MultiContractSelection
public boolean canEp2MultiContractSelection()
Support for multiple contract selection.
-
canEp2Installment
public boolean canEp2Installment()
Support for installments.
-
canEp2Giftcard
public boolean canEp2Giftcard()
Support for giftcard functions.
-
canAccountSelection
public boolean canAccountSelection()
Support for account selection.
-
canMcr
public boolean canMcr()
Support for merchant choice routing.
-
canSurcharge
public boolean canSurcharge()
Support for surcharge.
-
getEp2AgeCheck
public FeaturesPayment.AgeCheckSupport getEp2AgeCheck()
EP2 AgeCheck is available on the terminal. Values: 0: Not supported 1: AgeCheck only is supported 2: AgeCheck only and AgeCheck with transaction supported
-
isCtapAvailable
public boolean isCtapAvailable()
- Returns:
- the ctapAvailable
-
toString
public String toString()
String representation for debugging purpose.
-
createSavedState
public com.six.timapi.internal.TimSavedState createSavedState()
For internal use only.
-
-