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

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

public class Type29
extends IPE

Represents a Type 29 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()
           
 LOCE getAreaValidityDest()
           
 LOCE getAreaValidityOrigin()
           
 Calendar getComDTS()
           
 byte getDailyJnyCounter()
           
 String getFareBytes()
           
 IPEInstanceID getInstanceID()
           
 Calendar getIssueDate()
           
 Calendar getLastUseDTS()
           
 byte getMaxDailyJourneys()
           
 byte getMaxTransfers()
           
 byte getPassbackTime()
           
 int getQtyRemaining()
           
 String getScaledQtyBackup()
           
 byte getScalingFactor()
           
 short getSeqNum()
           
 byte getTransferCounter()
           
 LOCE getUsageRec()
           
 boolean isCoupon()
           
 boolean isEuro()
           
 boolean isFareValue()
           
 boolean isFirstClass()
           
 boolean isOffPeakOnly()
           
 boolean isOwnerExpiry()
           
 boolean isRecordAlighting()
           
 boolean isScaledQtyBackupUsed()
           
 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()

getScalingFactor

public byte getScalingFactor()

isOffPeakOnly

public boolean isOffPeakOnly()

isWeekdayOnly

public boolean isWeekdayOnly()

isFirstClass

public boolean isFirstClass()

isOwnerExpiry

public boolean isOwnerExpiry()

isFareValue

public boolean isFareValue()

getFareBytes

public String getFareBytes()

getAreaValidityOrigin

public LOCE getAreaValidityOrigin()

getAreaValidityDest

public LOCE getAreaValidityDest()

getQtyRemaining

public int getQtyRemaining()

getScaledQtyBackup

public String getScaledQtyBackup()

isCoupon

public boolean isCoupon()

getAmountPaid

public Amount getAmountPaid()

isRecordAlighting

public boolean isRecordAlighting()

getUsageRec

public LOCE getUsageRec()

getPassbackTime

public byte getPassbackTime()

getMaxDailyJourneys

public byte getMaxDailyJourneys()

getMaxTransfers

public byte getMaxTransfers()

getComDTS

public Calendar getComDTS()

getTransferCounter

public byte getTransferCounter()

getDailyJnyCounter

public byte getDailyJnyCounter()

getLastUseDTS

public Calendar getLastUseDTS()

getInstanceID

public IPEInstanceID getInstanceID()

isScaledQtyBackupUsed

public boolean isScaledQtyBackupUsed()

isSeqNumPresent

public boolean isSeqNumPresent()

getSeqNum

public short getSeqNum()

toString

public String toString()
Overrides:
toString in class IPE


Copyright © 2013 Ecebs Ltd. All Rights Reserved.