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

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

public class CyberSourceTransactionType
extends Object
implements Serializable, BroadleafEnumerationType

An extendible enumeration of transaction types.

Author:
jfischer
See Also:
Serialized Form

Field Summary
static CyberSourceTransactionType AUTHORIZE
           
static CyberSourceTransactionType AUTHORIZEANDCAPTURE
           
static CyberSourceTransactionType CAPTURE
           
static CyberSourceTransactionType CREDIT
           
static CyberSourceTransactionType REVERSEAUTHORIZE
           
static CyberSourceTransactionType VOIDTRANSACTION
           
 
Constructor Summary
CyberSourceTransactionType()
           
CyberSourceTransactionType(String type, String friendlyType)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getFriendlyType()
           
static CyberSourceTransactionType 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

AUTHORIZE

public static final CyberSourceTransactionType AUTHORIZE

CAPTURE

public static final CyberSourceTransactionType CAPTURE

AUTHORIZEANDCAPTURE

public static final CyberSourceTransactionType AUTHORIZEANDCAPTURE

CREDIT

public static final CyberSourceTransactionType CREDIT

VOIDTRANSACTION

public static final CyberSourceTransactionType VOIDTRANSACTION

REVERSEAUTHORIZE

public static final CyberSourceTransactionType REVERSEAUTHORIZE
Constructor Detail

CyberSourceTransactionType

public CyberSourceTransactionType()

CyberSourceTransactionType

public CyberSourceTransactionType(String type,
                                  String friendlyType)
Method Detail

getInstance

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