Package org.jpos.iso
Class ServiceCode
- java.lang.Object
-
- org.jpos.iso.ServiceCode
-
public class ServiceCode extends java.lang.Object
Implements a parser for card's service code as per ISO/IEC 7813:2006(E).
-
-
Constructor Summary
Constructors Constructor Description ServiceCode(java.lang.String value)
Creates a ServiceCode instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNoRestrictions()
boolean
isATMOnly()
boolean
isCashOnly()
boolean
isGoodsAndServicesOnly()
boolean
isICC()
boolean
isInternational()
boolean
isIssuerAuthorization()
boolean
isNational()
boolean
isNormalAuthorization()
boolean
isPINRequired()
boolean
isPrivate()
boolean
isTest()
boolean
mustPromptForPINIfPEDPresent()
-
-
-
Constructor Detail
-
ServiceCode
public ServiceCode(java.lang.String value)
Creates a ServiceCode instance.- Parameters:
value
- Three-digit service code value.
-
-
Method Detail
-
isPrivate
public boolean isPrivate()
-
isTest
public boolean isTest()
-
isICC
public boolean isICC()
-
isInternational
public boolean isInternational()
-
isNational
public boolean isNational()
-
hasNoRestrictions
public boolean hasNoRestrictions()
-
isGoodsAndServicesOnly
public boolean isGoodsAndServicesOnly()
-
isATMOnly
public boolean isATMOnly()
-
isCashOnly
public boolean isCashOnly()
-
isPINRequired
public boolean isPINRequired()
-
mustPromptForPINIfPEDPresent
public boolean mustPromptForPINIfPEDPresent()
-
isNormalAuthorization
public boolean isNormalAuthorization()
-
isIssuerAuthorization
public boolean isIssuerAuthorization()
-
-