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

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

public class TransactionType
extends Object
implements Serializable, BroadleafEnumerationType

An extendible enumeration of payment transaction types.

Author:
jfischer
See Also:
Serialized Form

Field Summary
static TransactionType AUTHORIZE
           
static TransactionType AUTHORIZEANDDEBIT
           
static TransactionType BALANCE
           
static TransactionType CREDIT
           
static TransactionType DEBIT
           
static TransactionType PARTIALPAYMENT
           
static TransactionType REVERSEAUTHORIZE
           
static TransactionType VOIDPAYMENT
           
 
Constructor Summary
TransactionType()
           
TransactionType(String type, String friendlyType)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getFriendlyType()
           
static TransactionType 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 TransactionType AUTHORIZE

DEBIT

public static final TransactionType DEBIT

AUTHORIZEANDDEBIT

public static final TransactionType AUTHORIZEANDDEBIT

CREDIT

public static final TransactionType CREDIT

VOIDPAYMENT

public static final TransactionType VOIDPAYMENT

BALANCE

public static final TransactionType BALANCE

REVERSEAUTHORIZE

public static final TransactionType REVERSEAUTHORIZE

PARTIALPAYMENT

public static final TransactionType PARTIALPAYMENT
Constructor Detail

TransactionType

public TransactionType()

TransactionType

public TransactionType(String type,
                       String friendlyType)
Method Detail

getInstance

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