public class IdentificationCardTrackOne
extends java.lang.Object
Constructor and Description |
---|
IdentificationCardTrackOne() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAddress()
Gets the address of the card-holder.
|
java.lang.String |
getCity()
Gets the card-holders city.
|
java.lang.String |
getDiscretionaryData()
Gets vendor-specific discretionary data.
|
java.lang.String |
getFirstName()
Gets the first name of the card-holder.
|
java.lang.String |
getLastName()
Gets the last name of the card-holder.
|
java.lang.String |
getMiddleName()
Gets the middle name of the card-holder.
|
java.lang.String |
getState()
Gets the card-holders state.
|
static IdentificationCardTrackOne |
parse(java.lang.String trackData)
This method attempts to parse the first track of data out of a magnetic
strip string.
|
java.lang.String |
toString()
Returns this object as a human readable string.
|
public static IdentificationCardTrackOne parse(java.lang.String trackData)
trackData
- Data to parse from.public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getState()
public java.lang.String getCity()
public java.lang.String getLastName()
public java.lang.String getFirstName()
public java.lang.String getMiddleName()
public java.lang.String getAddress()
public java.lang.String getDiscretionaryData()