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

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

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

An extendible enumeration of transaction types.

Author:
jfischer
See Also:
Serialized Form

Field Summary
static PayPalMethodType AUTHORIZATION
           
static PayPalMethodType CAPTURE
           
static PayPalMethodType CHECKOUT
           
static PayPalMethodType DETAILS
           
static PayPalMethodType PROCESS
           
static PayPalMethodType REFUND
           
static PayPalMethodType VOID
           
 
Constructor Summary
PayPalMethodType()
           
PayPalMethodType(String type, String friendlyType)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getFriendlyType()
           
static PayPalMethodType 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

CHECKOUT

public static final PayPalMethodType CHECKOUT

AUTHORIZATION

public static final PayPalMethodType AUTHORIZATION

DETAILS

public static final PayPalMethodType DETAILS

PROCESS

public static final PayPalMethodType PROCESS

REFUND

public static final PayPalMethodType REFUND

CAPTURE

public static final PayPalMethodType CAPTURE

VOID

public static final PayPalMethodType VOID
Constructor Detail

PayPalMethodType

public PayPalMethodType()

PayPalMethodType

public PayPalMethodType(String type,
                        String friendlyType)
Method Detail

getInstance

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