public static enum WePayApi.Scope extends Enum<WePayApi.Scope>
| Enum Constant and Description |
|---|
SCOPE_COLLECT_PAYMENTS |
SCOPE_MANAGE_ACCOUNTS |
SCOPE_PREAPPROVE_PAYMENTS |
SCOPE_REFUND_PAYMENTS |
SCOPE_SEND_MONEY |
SCOPE_VIEW_BALANCE |
SCOPE_VIEW_USER |
| Modifier and Type | Method and Description |
|---|---|
static List<WePayApi.Scope> |
getAll() |
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 SCOPE_MANAGE_ACCOUNTS
public static final WePayApi.Scope SCOPE_VIEW_BALANCE
public static final WePayApi.Scope SCOPE_COLLECT_PAYMENTS
public static final WePayApi.Scope SCOPE_REFUND_PAYMENTS
public static final WePayApi.Scope SCOPE_VIEW_USER
public static final WePayApi.Scope SCOPE_PREAPPROVE_PAYMENTS
public static final WePayApi.Scope 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()
Copyright © 2014. All Rights Reserved.