org.broadleafcommerce.vendor.cybersource.service.payment.type
Class CyberSourceMethodType

java.lang.Object
  extended by org.broadleafcommerce.vendor.cybersource.service.payment.type.CyberSourceMethodType
All Implemented Interfaces:
Serializable, BroadleafEnumerationType

public class CyberSourceMethodType
extends Object
implements Serializable, BroadleafEnumerationType

An extendible enumeration of transaction types.

Author:
jfischer
See Also:
Serialized Form

Field Summary
static CyberSourceMethodType BANKACCOUNT
           
static CyberSourceMethodType CREDITCARD
           
static CyberSourceMethodType PAYPAL
           
 
Constructor Summary
CyberSourceMethodType()
           
CyberSourceMethodType(String type, String friendlyType)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getFriendlyType()
           
static CyberSourceMethodType 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

CREDITCARD

public static final CyberSourceMethodType CREDITCARD

BANKACCOUNT

public static final CyberSourceMethodType BANKACCOUNT

PAYPAL

public static final CyberSourceMethodType PAYPAL
Constructor Detail

CyberSourceMethodType

public CyberSourceMethodType()

CyberSourceMethodType

public CyberSourceMethodType(String type,
                             String friendlyType)
Method Detail

getInstance

public static CyberSourceMethodType 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.