This class represents track one of a financial card.
Methods
Gets the account number on the card.
getAccountNumber() : mixed
Gets the vendor-specific discretionary data on the card.
getDiscretionaryData() : string
Gets the expiration date on the card.
getExpiration() : \com\scriptel\Date
Response
\com\scriptel\Date
Gets the first name on the card.
getFirstName() : mixed
Gets the last name on the card.
getLastName() : string
Gets the service code on the card.
getServiceCode() : string
This method attempts to parse track one of the raw track string.
parse(stringtrackData) : \com\scriptel\FinancialCardTrackOne
static
Arguments
Response
\com\scriptel\FinancialCardTrackOne
Sets the account number on the card.
setAccountNumber(stringcardNumber) : mixed
Sets the vendor-specific discretionary data.
setDiscretionaryData(stringdiscretionaryData) : mixed
Sets the expiration date on the card.
setExpiration(\com\scriptel\Dateexpiration) : mixed
Arguments
expiration
\com\scriptel\Date
Response
mixed
Sets the first name on the card.
setFirstName(stringfirstName) : mixed
Sets the last name on the card.
setLastName(stringlastName) : mixed
Sets the service code on the card.
setServiceCode(stringserviceCode) : mixed
Returns this object as a human readable string.
toString() : string
Properties
The credit card number of this financial card.
accountNumber : string
The first name on the card.
firstName : string
The last name on the card.
lastName : string
The expiration date on the card.
expiration : \com\scriptel\Date
Type(s)
\com\scriptel\Date
The service code on the card.
serviceCode : string
Optional additional date the issuer has added on the strip.
discretionaryData : string