Getcardpanlength, Getcardservicecode, Getcardstatus – MagTek Audio Reader for Android Devices User Manual
Page 20
14
Note: The data returned is dependent on the partial information provided by the reader. If the
reader supports emitting partial data for the fields below, the SDK will provide them as is. If the
reader supports masking, the SDK will retrieve the information from the masked tracks supplied
by the reader.
getCardPANLength
Retrieves PAN length from card data
-
public int getCardPANLength()
Parameters
Return Value
PAN length
Note: The data returned is dependent on the partial information provided by the reader. If the
reader supports emitting partial data for the fields below, the SDK will provide them as is. If the
reader supports masking, the SDK will retrieve the information from the masked tracks supplied
by the reader.
getCardServiceCode
Retrieves Service Code
-
public String getCardServiceCode()
Parameters
Return Value
String representing service code
Note: The data returned is dependent on the partial information provided by the reader. If the
reader supports emitting partial data for the fields below, the SDK will provide them as is. If the
reader supports masking, the SDK will retrieve the information from the masked tracks supplied
by the reader.
getCardStatus
Retrieves Card Status
-
public String getCardStatus()
Parameters
Return Value
String representing card status
Card status