ReaderParameters

public final class ReaderParameters

Card reader configuration parameters

Fields

mAidList

final ArrayList<String> mAidList

mIsBackground

final boolean mIsBackground

mMessage

final String mMessage

mPresentationMethodNames

final ArrayList<PresentationMethod> mPresentationMethodNames

mTokenParameters

final ArrayList<TokenParameters> mTokenParameters

Constructors

ReaderParameters

public ReaderParameters(String message, ArrayList<PresentationMethod> presentationMethodNames, ArrayList<String> aidList, boolean isBackground, ArrayList<TokenParameters> tokenParameters)

Methods

getAidList

public ArrayList<String> getAidList()

Optionally restricts the readers to a set of AIDs.

getIsBackground

public boolean getIsBackground()

Set to true if the tap/swipe/insert dialogue should be suppressed on the terminal screen. Defaults to false. This will be quietly ignored for those terminals which do not support this configuration.

getMessage

public String getMessage()

An optional message to display to the customer unless isBackground is true.

getPresentationMethodNames

public ArrayList<PresentationMethod> getPresentationMethodNames()

Optionally restrict the readers to a list of presentation methods.

getTokenParameters

public ArrayList<TokenParameters> getTokenParameters()

Optionally request a token or multiple tokens to be generated according to the provided parameters.

toString

public String toString()