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

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

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

An extendible enumeration of transaction types.

Author:
jfischer
See Also:
Serialized Form

Field Summary
static PayPalPaymentType ECHECK
           
static PayPalPaymentType INSTANT
           
static PayPalPaymentType NONE
           
 
Constructor Summary
PayPalPaymentType()
           
PayPalPaymentType(String type, String friendlyType)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getFriendlyType()
           
static PayPalPaymentType 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 PayPalPaymentType NONE

ECHECK

public static final PayPalPaymentType ECHECK

INSTANT

public static final PayPalPaymentType INSTANT
Constructor Detail

PayPalPaymentType

public PayPalPaymentType()

PayPalPaymentType

public PayPalPaymentType(String type,
                         String friendlyType)
Method Detail

getInstance

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