org.broadleafcommerce.core.payment.service.type
Class PaymentInfoType

java.lang.Object
  extended by org.broadleafcommerce.core.payment.service.type.PaymentInfoType
All Implemented Interfaces:
Serializable, BroadleafEnumerationType

public class PaymentInfoType
extends Object
implements Serializable, BroadleafEnumerationType

An extendible enumeration of payment info types.

Author:
jfischer
See Also:
Serialized Form

Field Summary
static PaymentInfoType BANK_ACCOUNT
           
static PaymentInfoType CREDIT_CARD
           
static PaymentInfoType GIFT_CARD
           
 
Constructor Summary
PaymentInfoType()
           
PaymentInfoType(String type, String friendlyType)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getFriendlyType()
           
static PaymentInfoType getInstance(String type)
           
 String getType()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GIFT_CARD

public static final PaymentInfoType GIFT_CARD

CREDIT_CARD

public static final PaymentInfoType CREDIT_CARD

BANK_ACCOUNT

public static final PaymentInfoType BANK_ACCOUNT
Constructor Detail

PaymentInfoType

public PaymentInfoType()

PaymentInfoType

public PaymentInfoType(String type,
                       String friendlyType)
Method Detail

getInstance

public static PaymentInfoType getInstance(String type)

getType

public String getType()
Specified by:
getType in interface BroadleafEnumerationType

getFriendlyType

public String getFriendlyType()
Specified by:
getFriendlyType in interface BroadleafEnumerationType

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2012. All Rights Reserved.