com.ecebs.rtd.enabler.types.itso.ipe
Class Type27

java.lang.Object
  extended by com.ecebs.rtd.enabler.types.itso.ipe.IPE
      extended by com.ecebs.rtd.enabler.types.itso.ipe.Type27
All Implemented Interfaces:
Product, Serializable

public class Type27
extends IPE

Represents a Type 27 IPE.

Note on data order - The byte array is expected to hold the data in the following order:
IPE static data = 16 bytes
IPE Dynamic data = 8 bytes
Instance ID = 8 bytes
Seal = 8 bytes
OTP data = 4 bytes

Author:
kyleb
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ecebs.rtd.enabler.types.itso.ipe.IPE
BYTES_PER_BLOCK, DTS_LENGTH, SEAL_LENGTH
 
Method Summary
 Amount getAmountPaid()
           
 ITSOCodeResolver.EventTypeCode getEvent1()
           
 ITSOCodeResolver.EventTypeCode getEvent2()
           
 short getExpiryDateOffset()
           
 String getFareBytes()
           
 LOCE getGeoValidityDest()
           
 LOCE getGeoValidityOrigin()
           
 LOCE getGeoValidityVia()
           
 Calendar getIssueDate()
           
 Calendar getLastUseDTS()
           
 byte getPassbackTime()
           
 String getPhotocardNumber()
           
 short getSeqNum()
           
 boolean isChild()
           
 boolean isEuro()
           
 boolean isFareValue()
           
 boolean isFirstClass()
           
 boolean isOffPeakOnly()
           
 boolean isOwnerDefinedExpiryTime()
           
 boolean isSeqNumPresent()
           
 boolean isWeekdayOnly()
           
 String toString()
           
 
Methods inherited from class com.ecebs.rtd.enabler.types.itso.ipe.IPE
getDirEntry, getHeader, getIIN, getInstance, getIPEInstanceID, getNewestVR, getNewestVRDG, getSeal, getVRDGs, isIINPresent, isSupported
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getIssueDate

public Calendar getIssueDate()

isEuro

public boolean isEuro()

isChild

public boolean isChild()

getPassbackTime

public byte getPassbackTime()

getAmountPaid

public Amount getAmountPaid()

isOffPeakOnly

public boolean isOffPeakOnly()

isWeekdayOnly

public boolean isWeekdayOnly()

isFirstClass

public boolean isFirstClass()

isOwnerDefinedExpiryTime

public boolean isOwnerDefinedExpiryTime()

isFareValue

public boolean isFareValue()

getFareBytes

public String getFareBytes()

getEvent1

public ITSOCodeResolver.EventTypeCode getEvent1()

getEvent2

public ITSOCodeResolver.EventTypeCode getEvent2()

getGeoValidityOrigin

public LOCE getGeoValidityOrigin()

getGeoValidityDest

public LOCE getGeoValidityDest()

getGeoValidityVia

public LOCE getGeoValidityVia()

getLastUseDTS

public Calendar getLastUseDTS()

getPhotocardNumber

public String getPhotocardNumber()

getExpiryDateOffset

public short getExpiryDateOffset()

isSeqNumPresent

public boolean isSeqNumPresent()

getSeqNum

public short getSeqNum()

toString

public String toString()
Overrides:
toString in class IPE


Copyright © 2013 Ecebs Ltd. All Rights Reserved.