public class

MagneticCard

extends Card
java.lang.Object
   ↳ PayPalRetailObject
     ↳ com.paypal.paypalretailsdk.Card
       ↳ com.paypal.paypalretailsdk.MagneticCard

Class Overview

Information about a card presented to the PayPal Retail SDK

Summary

Public Constructors
MagneticCard()
Public Methods
String getExpiration()
The expiration date (YYMM)
String getFirstName()
Cardholder first name
String getKsn()
Key serial number of the reader used to interpret the track data
String getLastName()
Cardholder last name
String getMiddleInitial()
Cardholder middle name
String getPan()
The personal account number (usually masked)
String getTrack1()
Encrypted track1 data if available
String getTrack2()
Encrypted track2 data if available
String getTrack3()
Encrypted track3 data if available
void setExpiration(String value)
The expiration date (YYMM)
void setFirstName(String value)
Cardholder first name
void setKsn(String value)
Key serial number of the reader used to interpret the track data
void setLastName(String value)
Cardholder last name
void setMiddleInitial(String value)
Cardholder middle name
void setPan(String value)
The personal account number (usually masked)
void setTrack1(String value)
Encrypted track1 data if available
void setTrack2(String value)
Encrypted track2 data if available
void setTrack3(String value)
Encrypted track3 data if available
String toString()
Returns a string representing the serialized state of the MagneticCard object
[Expand]
Inherited Methods
From class com.paypal.paypalretailsdk.Card
From class java.lang.Object

Public Constructors

public MagneticCard ()

Public Methods

public String getExpiration ()

The expiration date (YYMM)

public String getFirstName ()

Cardholder first name

public String getKsn ()

Key serial number of the reader used to interpret the track data

public String getLastName ()

Cardholder last name

public String getMiddleInitial ()

Cardholder middle name

public String getPan ()

The personal account number (usually masked)

public String getTrack1 ()

Encrypted track1 data if available

public String getTrack2 ()

Encrypted track2 data if available

public String getTrack3 ()

Encrypted track3 data if available

public void setExpiration (String value)

The expiration date (YYMM)

public void setFirstName (String value)

Cardholder first name

public void setKsn (String value)

Key serial number of the reader used to interpret the track data

public void setLastName (String value)

Cardholder last name

public void setMiddleInitial (String value)

Cardholder middle name

public void setPan (String value)

The personal account number (usually masked)

public void setTrack1 (String value)

Encrypted track1 data if available

public void setTrack2 (String value)

Encrypted track2 data if available

public void setTrack3 (String value)

Encrypted track3 data if available

public String toString ()

Returns a string representing the serialized state of the MagneticCard object