Class CardParser


  • public class CardParser
    extends java.lang.Object
    This class is a static helper class used to help parse Magnetic Swipe cards.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static FinancialCard parseFinancialCard​(boolean trackOneValid, java.lang.String trackOne, boolean trackTwoValid, java.lang.String trackTwo)  
      static IdentificationCard parseIdentificationCard​(boolean trackOneValid, java.lang.String trackOne, boolean trackTwoValid, java.lang.String trackTwo, boolean trackThreeValid, java.lang.String trackThree)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • parseFinancialCard

        public static FinancialCard parseFinancialCard​(boolean trackOneValid,
                                                       java.lang.String trackOne,
                                                       boolean trackTwoValid,
                                                       java.lang.String trackTwo)
      • parseIdentificationCard

        public static IdentificationCard parseIdentificationCard​(boolean trackOneValid,
                                                                 java.lang.String trackOne,
                                                                 boolean trackTwoValid,
                                                                 java.lang.String trackTwo,
                                                                 boolean trackThreeValid,
                                                                 java.lang.String trackThree)