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

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

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

An extendible enumeration of transaction types.

Author:
jfischer
See Also:
Serialized Form

Field Summary
static PayPalReasonCodeType BUYERCOMPLAINT
           
static PayPalReasonCodeType CHARGEBACK
           
static PayPalReasonCodeType GUARANTEE
           
static PayPalReasonCodeType NONE
           
static PayPalReasonCodeType OTHER
           
static PayPalReasonCodeType REFUND
           
 
Constructor Summary
PayPalReasonCodeType()
           
PayPalReasonCodeType(String type, String friendlyType)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getFriendlyType()
           
static PayPalReasonCodeType 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

NONE

public static final PayPalReasonCodeType NONE

CHARGEBACK

public static final PayPalReasonCodeType CHARGEBACK

GUARANTEE

public static final PayPalReasonCodeType GUARANTEE

BUYERCOMPLAINT

public static final PayPalReasonCodeType BUYERCOMPLAINT

REFUND

public static final PayPalReasonCodeType REFUND

OTHER

public static final PayPalReasonCodeType OTHER
Constructor Detail

PayPalReasonCodeType

public PayPalReasonCodeType()

PayPalReasonCodeType

public PayPalReasonCodeType(String type,
                            String friendlyType)
Method Detail

getInstance

public static PayPalReasonCodeType 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 © 2012. All Rights Reserved.