org.ota.shared
Class PaymentCard.MagneticStripe

java.lang.Object
  extended by org.ota.shared.PaymentCard.MagneticStripe
Enclosing class:
PaymentCard

public static class PaymentCard.MagneticStripe
extends java.lang.Object

Card Magnetic Stripe Data as defined by ISO 7813 for banking cards. Schema fragment(s) for this class:

 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="MagneticStripe" minOccurs="0">
   <xs:complexType>
     <xs:attribute type="xs:base64Binary" use="optional" name="Track1"/>
     <xs:attribute type="xs:base64Binary" use="optional" name="Track2"/>
     <xs:attribute type="xs:base64Binary" use="optional" name="Track3"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
PaymentCard.MagneticStripe()
           
 
Method Summary
 byte[] getTrack1()
          Get the 'Track1' attribute value.
 byte[] getTrack2()
          Get the 'Track2' attribute value.
 byte[] getTrack3()
          Get the 'Track3' attribute value.
 void setTrack1(byte[] track1)
          Set the 'Track1' attribute value.
 void setTrack2(byte[] track2)
          Set the 'Track2' attribute value.
 void setTrack3(byte[] track3)
          Set the 'Track3' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PaymentCard.MagneticStripe

public PaymentCard.MagneticStripe()
Method Detail

getTrack1

public byte[] getTrack1()
Get the 'Track1' attribute value. The binary magnetic stripe data for track 1.

Returns:
value

setTrack1

public void setTrack1(byte[] track1)
Set the 'Track1' attribute value. The binary magnetic stripe data for track 1.

Parameters:
track1 -

getTrack2

public byte[] getTrack2()
Get the 'Track2' attribute value. The binary magnetic stripe data for track 2.

Returns:
value

setTrack2

public void setTrack2(byte[] track2)
Set the 'Track2' attribute value. The binary magnetic stripe data for track 2.

Parameters:
track2 -

getTrack3

public byte[] getTrack3()
Get the 'Track3' attribute value. The binary magnetic stripe data for track 2.

Returns:
value

setTrack3

public void setTrack3(byte[] track3)
Set the 'Track3' attribute value. The binary magnetic stripe data for track 2.

Parameters:
track3 -