All pages
Powered by GitBook
1 of 1

Loading...

MTSCRA Class Methods - 31 - 40

getCardDataCRC

Retrieves CRC from card data.

public long getCardDataCRC()

Parameters: None

Return Value:

Card data CRC

getCardExpDate

Retrieves card experiation date from card data.

public String getCardExpDate() Parameters: None

Return Value:

String representing card expiration date.

getCardIIN

Retrieves Issuer Identification Number (IIN) from card data.

public String getCardIIN()

Parameters: None

Return Value: String representing card IIN.

Retrieves Last 4 digits of card number from card data.

Return Value:

String representing card last 4 digits.

Retrieves card name from card data. public

Return Value:

String representing card name.

Retrieves PAN from card data.

Return Value:

String representing card PAN.

Retrieves PAN length from card data.

Return Value:

PAN length

Retrieves Service Code.

Parameters: None Return Value:

String representing service code.

Retrieves Card Status.

Parameters: None

Return Value:

String representing card status.

This one-byte value indicates the type of encoding that was found on the card. The following table defines the possible values.

Parameters: None Return Value:

2

Reserved

3

Blank

The card is blank. Only occurs if all tracks decode without error and without data.

4

Other

The card has a non-standard encode format. For example, ISO/ABA track 1 format on track 2.

5

Undetermined

The card encode type could not be determined because no tracks could be decoded. (Combination of Error tracks and Blank Tracks, at least one Error track).

6

None

No decode has occurred. This type occurs if no magnetic stripe data has been acquired since the data has been cleared or since the reader was powered on. This reader only sends an Input report when a card has been swiped so this value will never occur.

Value

Encode Type

Description

0

ISO/ABA

ISO/ABA encode format. At least one track in ISO/ABA format, Track 3 not AAMVA format.

1

AAMVA

getCardLast4

getCardName

getCardPAN

getCardPANLength

getCardServiceCode

getCardStatus

getEncodeType

AAMVA encode Track 3 is AAMVA format, Tracks 1 and 2 are ISO/ABA if correctly decoded.

public String getCardLast4() Parameters: None
String getCardName() Parameters: None
public String getCardPAN() Parameters: None
public int getCardPANLength() Parameters: None
public String getCardServiceCode()
public String getCardStatus()
public int getEncodeType()