org.broadleafcommerce.profile.payment
Class CreditCardType
java.lang.Object
org.broadleafcommerce.profile.payment.CreditCardType
- All Implemented Interfaces:
- java.io.Serializable, BroadleafEnumerationType
public class CreditCardType
- extends java.lang.Object
- implements java.io.Serializable, BroadleafEnumerationType
An extendible enumeration of credit card types.
- Author:
- jfischer
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
MASTERCARD
public static final CreditCardType MASTERCARD
VISA
public static final CreditCardType VISA
AMEX
public static final CreditCardType AMEX
DINERSCLUB_CARTEBLANCHE
public static final CreditCardType DINERSCLUB_CARTEBLANCHE
DISCOVER
public static final CreditCardType DISCOVER
ENROUTE
public static final CreditCardType ENROUTE
JCB
public static final CreditCardType JCB
CreditCardType
public CreditCardType()
CreditCardType
public CreditCardType(java.lang.String type,
java.lang.String friendlyType)
getInstance
public static CreditCardType getInstance(java.lang.String type)
getType
public java.lang.String getType()
- Specified by:
getType in interface BroadleafEnumerationType
getFriendlyType
public java.lang.String getFriendlyType()
- Specified by:
getFriendlyType in interface BroadleafEnumerationType
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
Copyright © 2011. All Rights Reserved.