com.ecebs.rtd.enabler.types.itso.ipe
Class Type16
java.lang.Object
com.ecebs.rtd.enabler.types.itso.ipe.IPE
com.ecebs.rtd.enabler.types.itso.ipe.EntitlementIPE
com.ecebs.rtd.enabler.types.itso.ipe.Type16
- All Implemented Interfaces:
- Product, Serializable
public class Type16
- extends EntitlementIPE
Represents a Type 16 ITSO IPE
- Author:
- kyleb
- See Also:
- Serialized Form
Constructor Summary |
Type16(IPEDirEntry dir,
byte[] ipeBytes,
int offset)
Parses from the provided byte array, starting at the given offset |
Methods inherited from class com.ecebs.rtd.enabler.types.itso.ipe.EntitlementIPE |
getAreRoundingFlagsEnabled, getConcClass, getCPICC, getDeposit, getEntitlementCode, getEntitlementExpDate, getGender, getHalfDayOfWeek, getHolderID, getIdFlags, getPassbackTime, getPrintTicket, getRemoveDate, getSecondaryHolderID, getValidAtOrFrom, getValidTo, isCompanionAllowed, isDepositRefundable, isPersonalised, isRoundingFlag, isRoundingValueFlag, isSecondaryHolderIDPresent, isShellDepRefundable, isURIPresent, isValidAtOrFromPresent |
Methods inherited from class com.ecebs.rtd.enabler.types.itso.ipe.IPE |
getDirEntry, getHeader, getIIN, getInstance, getIPEInstanceID, getNewestVR, getNewestVRDG, getSeal, getVRDGs, isIINPresent, isSupported |
Type16
public Type16(IPEDirEntry dir,
byte[] ipeBytes,
int offset)
throws IndexOutOfBoundsException
- Parses from the provided byte array, starting at the given offset
- Parameters:
dir
- Directory entry associated with the IPEipeBytes
- byte array to parse fromoffset
- index to start parsing from byte array at
- Throws:
IndexOutOfBoundsException
isNamePresent
public boolean isNamePresent()
isHalfDayOfWeekPresent
public boolean isHalfDayOfWeekPresent()
- Specified by:
isHalfDayOfWeekPresent
in class EntitlementIPE
isValidToPresent
public boolean isValidToPresent()
getDateOfBirth
public Calendar getDateOfBirth()
- Gets an ITSO Date of Birth
- Returns:
- Calendar DateOfBirth if ITSO data is not "00000000", or null if it is "00000000".
getLanguage
public short getLanguage()
getShellDeposit
public Amount getShellDeposit()
getForename
public String getForename()
getSurname
public String getSurname()
toString
public String toString()
- Overrides:
toString
in class IPE
Copyright © 2013 Ecebs Ltd. All Rights Reserved.