org.broadleafcommerce.vendor.paypal.service.payment.type
Class PayPalTransactionType

java.lang.Object
  extended by org.broadleafcommerce.vendor.paypal.service.payment.type.PayPalTransactionType
All Implemented Interfaces:
Serializable, org.broadleafcommerce.common.BroadleafEnumerationType

public class PayPalTransactionType
extends Object
implements Serializable, org.broadleafcommerce.common.BroadleafEnumerationType

An extendible enumeration of transaction types.

Author:
jfischer
See Also:
Serialized Form

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

CAPTURE

public static final PayPalTransactionType CAPTURE

AUTHORIZEANDCAPTURE

public static final PayPalTransactionType AUTHORIZEANDCAPTURE

CREDIT

public static final PayPalTransactionType CREDIT

VOIDTRANSACTION

public static final PayPalTransactionType VOIDTRANSACTION

REVERSEAUTHORIZE

public static final PayPalTransactionType REVERSEAUTHORIZE
Constructor Detail

PayPalTransactionType

public PayPalTransactionType()

PayPalTransactionType

public PayPalTransactionType(String type,
                             String friendlyType)
Method Detail

getInstance

public static PayPalTransactionType getInstance(String type)

getType

public String getType()
Specified by:
getType in interface org.broadleafcommerce.common.BroadleafEnumerationType

getFriendlyType

public String getFriendlyType()
Specified by:
getFriendlyType in interface org.broadleafcommerce.common.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.