public static enum WePayApi.Scope extends Enum<WePayApi.Scope>
| Enum Constant and Description |
|---|
COLLECT_PAYMENTS |
MANAGE_ACCOUNTS |
PREAPPROVE_PAYMENTS |
REFUND_PAYMENTS |
SEND_MONEY |
VIEW_BALANCE |
VIEW_USER |
| Modifier and Type | Method and Description |
|---|---|
static List<WePayApi.Scope> |
getAll() |
String |
toString() |
static WePayApi.Scope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WePayApi.Scope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WePayApi.Scope MANAGE_ACCOUNTS
public static final WePayApi.Scope VIEW_BALANCE
public static final WePayApi.Scope COLLECT_PAYMENTS
public static final WePayApi.Scope REFUND_PAYMENTS
public static final WePayApi.Scope VIEW_USER
public static final WePayApi.Scope PREAPPROVE_PAYMENTS
public static final WePayApi.Scope SEND_MONEY
public static WePayApi.Scope[] values()
for (WePayApi.Scope c : WePayApi.Scope.values()) System.out.println(c);
public static WePayApi.Scope valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic static List<WePayApi.Scope> getAll()
public String toString()
toString in class Enum<WePayApi.Scope>Copyright © 2014. All Rights Reserved.