Class PaymentUtil


  • public class PaymentUtil
    extends Object
    Author:
    Elaine
    • Constructor Detail

      • PaymentUtil

        public PaymentUtil()
    • Method Detail

      • encrpytCreditCard

        public static String encrpytCreditCard​(String value)
      • encrpytCvv

        public static String encrpytCvv​(String creditCardVV)
      • isNumeric

        public static boolean isNumeric​(String str)
      • getPayAmtInCents

        public static int getPayAmtInCents​(BigDecimal payAmt)
      • getCreditCardExp

        public static String getCreditCardExp​(int creditCardExpMM,
                                              int creditCardExpYY,
                                              String delimiter)