paypalnvp.request
Enum SetExpressCheckout.SolutionType

java.lang.Object
  extended by java.lang.Enum<SetExpressCheckout.SolutionType>
      extended by paypalnvp.request.SetExpressCheckout.SolutionType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SetExpressCheckout.SolutionType>
Enclosing class:
SetExpressCheckout

public static enum SetExpressCheckout.SolutionType
extends java.lang.Enum<SetExpressCheckout.SolutionType>

Type of checkout flow


Enum Constant Summary
MARK
          Normal Express Checkout
SOLE
          Express Checkout for auctions
 
Method Summary
static SetExpressCheckout.SolutionType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SetExpressCheckout.SolutionType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SOLE

public static final SetExpressCheckout.SolutionType SOLE
Express Checkout for auctions


MARK

public static final SetExpressCheckout.SolutionType MARK
Normal Express Checkout

Method Detail

values

public static SetExpressCheckout.SolutionType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (SetExpressCheckout.SolutionType c : SetExpressCheckout.SolutionType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SetExpressCheckout.SolutionType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null