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 ACCOUNT
           
static PaymentInfoType BANK_ACCOUNT
           
static PaymentInfoType CHECK
           
static PaymentInfoType CREDIT_CARD
           
static PaymentInfoType CUSTOMER_CREDIT
           
static PaymentInfoType ELECTRONIC_CHECK
           
static PaymentInfoType GIFT_CARD
           
static PaymentInfoType MONEY_ORDER
           
static PaymentInfoType PAYPAL
           
static PaymentInfoType WIRE
           
 
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

PAYPAL

public static final PaymentInfoType PAYPAL

CHECK

public static final PaymentInfoType CHECK

ELECTRONIC_CHECK

public static final PaymentInfoType ELECTRONIC_CHECK

WIRE

public static final PaymentInfoType WIRE

MONEY_ORDER

public static final PaymentInfoType MONEY_ORDER

CUSTOMER_CREDIT

public static final PaymentInfoType CUSTOMER_CREDIT

ACCOUNT

public static final PaymentInfoType 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 © 2013. All Rights Reserved.