public enum PayPalScope extends java.lang.Enum<PayPalScope>
| Enum Constant and Description |
|---|
ADDRESS
address
|
EMAIL
email
|
FUTURE_PAYMENTS
Allows payments to be made in the future using PayPal
|
OPENID
openid
|
PAYPAL_ATTRIBUTES
PayPal attributes - personal and account information
|
PHONE
phone
|
PROFILE
Account profile
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getScopeUri() |
static PayPalScope |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PayPalScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PayPalScope FUTURE_PAYMENTS
public static final PayPalScope PROFILE
public static final PayPalScope PAYPAL_ATTRIBUTES
public static final PayPalScope OPENID
public static final PayPalScope EMAIL
public static final PayPalScope ADDRESS
public static final PayPalScope PHONE
public static PayPalScope[] values()
for (PayPalScope c : PayPalScope.values()) System.out.println(c);
public static PayPalScope 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 namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getScopeUri()