public class FinancialCardTrackTwo
extends java.lang.Object
Constructor and Description |
---|
FinancialCardTrackTwo() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAccountNumber()
Gets the account number of the card in track two.
|
java.lang.String |
getDiscretionaryData()
Gets the discretionary data on the second track of the card.
|
java.util.Date |
getExpiration()
Gets the expiration date of the card.
|
java.lang.String |
getServiceCode()
Gets the service code on the card.
|
static FinancialCardTrackTwo |
parse(java.lang.String trackData)
This method attempts to parse track two out the raw track string.
|
java.lang.String |
toString()
Returns this object as a human readable string.
|
public static FinancialCardTrackTwo parse(java.lang.String trackData)
trackData
- Track data to parse.public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getAccountNumber()
public java.util.Date getExpiration()
public java.lang.String getServiceCode()
public java.lang.String getDiscretionaryData()