com.bankframe.services.devices.MTPinPad
Class CardData

java.lang.Object
  extended by com.bankframe.services.devices.MTPinPad.CardData

public class CardData
extends Object

This class stores the card details taken from the IntelliPIN device


Constructor Summary
CardData(byte[] cardDataEntryResponse)
          Constructor
 
Method Summary
 String getTrackOne()
          This method gets the Track One data
 String getTrackThree()
          This method gets the Track Three data
 String getTrackTwo()
          This method gets the Track two data
 void setTrackOne(String tk1)
          This method sets the Track One data
 void setTrackThree(String tk3)
          This method sets the Track three data
 void setTrackTwo(String tk2)
          This method sets the Track two data
 String toString()
          This method returns a String representation of this object
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CardData

public CardData(byte[] cardDataEntryResponse)
         throws DeviceException
Constructor

Parameters:
cardDataEntryResponse - data-entry response from IntelliPIN device
Throws:
DeviceException
Method Detail

getTrackOne

public String getTrackOne()
This method gets the Track One data

Returns:
String track one data

getTrackThree

public String getTrackThree()
This method gets the Track Three data

Returns:
String track three data

getTrackTwo

public String getTrackTwo()
This method gets the Track two data

Returns:
String track two data

setTrackOne

public void setTrackOne(String tk1)
This method sets the Track One data

Parameters:
tk1 - String track one data

setTrackThree

public void setTrackThree(String tk3)
This method sets the Track three data

Parameters:
tk3 - String track three data

setTrackTwo

public void setTrackTwo(String tk2)
This method sets the Track two data

Parameters:
tk2 - String track two data

toString

public String toString()
This method returns a String representation of this object

Overrides:
toString in class Object
Returns:
String representation


Copyright © 2005, 2007, Oracle. All rights reserved.