Liferay 6.2-ce-ga5

com.liferay.util
Class CreditCard

java.lang.Object
  extended by com.liferay.util.CreditCard

public class CreditCard
extends Object


Constructor Summary
CreditCard()
           
 
Method Summary
static String hide(String number)
           
static String hide(String number, String x)
           
static boolean isValidExpirationDate(int expirationMonth, int expirationYear)
           
static boolean isValidNumber(String number, String type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreditCard

public CreditCard()
Method Detail

hide

public static String hide(String number)

hide

public static String hide(String number,
                          String x)

isValidExpirationDate

public static boolean isValidExpirationDate(int expirationMonth,
                                            int expirationYear)

isValidNumber

public static boolean isValidNumber(String number,
                                    String type)

Liferay 6.2-ce-ga5