|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<PaymentAction>
paypalnvp.fields.PaymentAction
public enum PaymentAction
How you want to obtain payment You cannot set this value to Sale on SetExpressCheckout request and then change this value to Authorization on the final PayPal Express Checkout API DoExpressCheckoutPayment request.
Enum Constant Summary | |
---|---|
AUTHORIZATION
Indicates that this payment is a basic authorization subject to settlement with PayPal Authorization & Capture. |
|
ORDER
Indicates that this payment is is an order authorization subject to settlement with PayPal Authorization & Capture. |
|
SALE
Indicates that this is a final sale for which you are requesting payment. |
Method Summary | |
---|---|
java.lang.String |
getValue()
|
static PaymentAction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static PaymentAction[] |
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 |
---|
public static final PaymentAction AUTHORIZATION
public static final PaymentAction ORDER
public static final PaymentAction SALE
Method Detail |
---|
public static PaymentAction[] values()
for (PaymentAction c : PaymentAction.values()) System.out.println(c);
public static PaymentAction valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String getValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |