public class CardDecodeServiceImpl extends Object implements ICardDecodeService
Constructor and Description |
---|
CardDecodeServiceImpl() |
Modifier and Type | Method and Description |
---|---|
BankCard |
decodeTrack1(CardReaderInfo aInfo,
String track) |
BankCard |
decodeTrack2(CardReaderInfo aInfo,
String aTrack2Text) |
BankCard |
decodeTrack2(CardReaderInfo aInfo,
String aTrack2Text,
boolean aPinEntered) |
BankCard |
parseTrack1(CardReaderInfo aInfo,
String track1) |
BankCard |
parseTrack2(CardReaderInfo aInfo,
String aTrack2Text) |
public BankCard decodeTrack1(CardReaderInfo aInfo, String track) throws CardParseException, CardValidationException
decodeTrack1
in interface ICardDecodeService
CardParseException
CardValidationException
public BankCard decodeTrack2(CardReaderInfo aInfo, String aTrack2Text) throws CardValidationException, CardParseException
decodeTrack2
in interface ICardDecodeService
CardValidationException
CardParseException
public BankCard decodeTrack2(CardReaderInfo aInfo, String aTrack2Text, boolean aPinEntered) throws CardParseException, CardValidationException
decodeTrack2
in interface ICardDecodeService
CardParseException
CardValidationException
public BankCard parseTrack1(CardReaderInfo aInfo, String track1) throws CardParseException, CardValidationException
parseTrack1
in interface ICardDecodeService
CardParseException
CardValidationException
public BankCard parseTrack2(CardReaderInfo aInfo, String aTrack2Text) throws CardParseException, CardValidationException
parseTrack2
in interface ICardDecodeService
CardParseException
CardValidationException
Copyright © 2018. All rights reserved.