This class represrnts a successful magnetic card swipe form a ScripTouch EasyScript device
with a magnetic card strip reader.
Methods
Gets the raw card swipe data.
getCardData() : string
Gets parsed financial card data, null if not set.
getFinancialCard() : mixed
Gets parsed identification card data.
getIdentificationCard() : mixed
Gets the protocol version of this swipe.
getProtocolVersion() : string
Sets the raw card swipe data.
setCardData(stringcardData) : mixed
Sets parsed financial card data, null if not set.
setFinancialCard(\com\scriptel\FinancialCardfinancialCard) : mixed
Arguments
financialCard
\com\scriptel\FinancialCard
Response
mixed
Sets parsed identification card data.
setIdentificationCard(\com\scriptel\IdentificationCardidentificationCard) : mixed
Arguments
identificationCard
\com\scriptel\IdentificationCard
Response
mixed
Sets the protocol version of this swipe.
setProtocolVersion(stringprotocolVersion) : mixed
Returns this object as a human readable string.
toString() : string
Properties
The protocol version being used to decode the string.
protocolVersion : string
The raw card data.
cardData : string
If the card is a recognizable financial card, this will contain parsed
financial card data.
financialCard : \com\scriptel\FinancialCard
If the card is a recognizable identification card this will contain
parsed identification data.
identificationCard : \com\scriptel\IdentificationCard