org.broadleafcommerce.vendor.cybersource.service.type
Class CyberSourceServiceType

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

public class CyberSourceServiceType
extends Object
implements Serializable, BroadleafEnumerationType

An extendible enumeration of service offering types.

Author:
jfischer
See Also:
Serialized Form

Field Summary
static CyberSourceServiceType PAYMENT
           
static CyberSourceServiceType TAX
           
 
Constructor Summary
CyberSourceServiceType()
           
CyberSourceServiceType(String type, String friendlyType)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getFriendlyType()
           
static CyberSourceServiceType 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

PAYMENT

public static final CyberSourceServiceType PAYMENT

TAX

public static final CyberSourceServiceType TAX
Constructor Detail

CyberSourceServiceType

public CyberSourceServiceType()

CyberSourceServiceType

public CyberSourceServiceType(String type,
                              String friendlyType)
Method Detail

getInstance

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