For the complete documentation index, see llms.txt. This page is also available as Markdown.
Page cover

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.

getCardLast4

Retrieves Last 4 digits of card number from card data.

Return Value:

String representing card last 4 digits.

getCardName

Retrieves card name from card data. public

Return Value:

String representing card name.

getCardPAN

Retrieves PAN from card data.

Return Value:

String representing card PAN.

getCardPANLength

Retrieves PAN length from card data.

Return Value:

PAN length

getCardServiceCode

Retrieves Service Code.

Parameters: None Return Value:

String representing service code.

getCardStatus

Retrieves Card Status.

Parameters: None

Return Value:

String representing card status.

getEncodeType

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:

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

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

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.

Last updated