public final class SphereProjectScope extends Base implements SphereScope
Modifier and Type | Field and Description |
---|---|
static SphereProjectScope |
CREATE_ANONYMOUS_TOKEN
Grants access to the access tokens for Anonymous Sessions.
|
static SphereProjectScope |
MANAGE_API_CLIENTS
Grants access to the APIs for creating, deleting and viewing api clients
|
static SphereProjectScope |
MANAGE_CUSTOMERS
Grants access to the APIs for creating, modifying and viewing anything related to customers in a project.
|
static SphereProjectScope |
MANAGE_DISCOUNT_CODES
Grants access to all the APIs for creating, deleting and viewing Discount Codes
|
static SphereProjectScope |
MANAGE_EXTENSIONS
Grants access to the APIs for creating, modifying and viewing anything related to Extensions in a project
|
static SphereProjectScope |
MANAGE_MY_ORDERS
Grants access to the APIs for creating, modifying and viewing anything related to shopping lists in a project.
|
static SphereProjectScope |
MANAGE_MY_PROFILE
If used with the password flow, grants access to the APIs for creating, modifying and viewing the profile of the customer to whom the access token was issued.
|
static SphereProjectScope |
MANAGE_ORDERS
Grants access to the APIs for creating, modifying and viewing anything related to orders in a project.
|
static SphereProjectScope |
MANAGE_PAYMENTS
Grants access to the APIs for creating, modifying and viewing anything related to payments in a project.
|
static SphereProjectScope |
MANAGE_PRODUCTS
Grants access to the APIs for creating, modifying and viewing anything related to products in a project.
|
static SphereProjectScope |
MANAGE_PROJECT
Grants full access to the APIs for the specified project.
|
static SphereProjectScope |
MANAGE_PROJECT_SETTINGS
Grants access to the API for modifying and viewing the project settings
|
static SphereProjectScope |
MANAGE_SHOPPING_LISTS
If used with the password flow, grants access to the APIs for creating, modifying and viewing orders and carts of the customer to whom the access token was issued.
|
static SphereProjectScope |
MANAGE_STATES
Grants access to the APIs for creating, modifying and viewing anything related to states in a project.
|
static SphereProjectScope |
MANAGE_SUBSCRIPTIONS
Grants access to the APIs for creating, modifying and viewing anything related to subscriptions in a project.
|
static SphereProjectScope |
MANAGE_TYPES
Grants access to the APIs for creating, modifying and viewing anything related to types in a project.
|
static SphereProjectScope |
VIEW_API_CLIENTS
Grants access to the APIs for viewing api clients
|
static SphereProjectScope |
VIEW_CUSTOMERS
Grants access to the APIs for viewing anything related to customers in a project.
|
static SphereProjectScope |
VIEW_DISCOUNT_CODES
Grants access to the APIs for viewing Discount Codes
|
static SphereProjectScope |
VIEW_MESSAGES
Grants access to the APIs for viewing anything related to messages in a project.
|
static SphereProjectScope |
VIEW_ORDERS
Grants access to the APIs for viewing anything related to orders in a project.
|
static SphereProjectScope |
VIEW_PAYMENTS
Grants access to the APIs for viewing anything related to payments in a project.
|
static SphereProjectScope |
VIEW_PRODUCTS
Grants access to the APIs for viewing anything related to products in a project.
|
static SphereProjectScope |
VIEW_PROJECT_SETTINGS
Grants access to the API for viewing the project settings.
|
static SphereProjectScope |
VIEW_SHOPPING_LISTS
Grants access to the APIs for viewing anything related to shopping lists in a project.
|
static SphereProjectScope |
VIEW_STATES
Grants access to the APIs for viewing anything related to states in a project.
|
static SphereProjectScope |
VIEW_TYPES
Grants access to the APIs for viewing anything related to types in a project.
|
Modifier and Type | Method and Description |
---|---|
String |
getScope() |
static SphereProjectScope |
of(String scope) |
static SphereProjectScope |
ofScopeString(String scope) |
String |
toScopeString() |
public static final SphereProjectScope MANAGE_PROJECT
public static final SphereProjectScope MANAGE_PRODUCTS
public static final SphereProjectScope VIEW_PRODUCTS
public static final SphereProjectScope MANAGE_ORDERS
public static final SphereProjectScope VIEW_ORDERS
public static final SphereProjectScope MANAGE_SHOPPING_LISTS
public static final SphereProjectScope VIEW_SHOPPING_LISTS
public static final SphereProjectScope MANAGE_MY_ORDERS
public static final SphereProjectScope MANAGE_CUSTOMERS
public static final SphereProjectScope VIEW_CUSTOMERS
public static final SphereProjectScope MANAGE_MY_PROFILE
public static final SphereProjectScope MANAGE_TYPES
public static final SphereProjectScope VIEW_TYPES
public static final SphereProjectScope MANAGE_PAYMENTS
public static final SphereProjectScope VIEW_PAYMENTS
public static final SphereProjectScope CREATE_ANONYMOUS_TOKEN
public static final SphereProjectScope MANAGE_SUBSCRIPTIONS
public static final SphereProjectScope VIEW_PROJECT_SETTINGS
public static final SphereProjectScope MANAGE_EXTENSIONS
public static final SphereProjectScope MANAGE_PROJECT_SETTINGS
public static final SphereProjectScope MANAGE_STATES
public static final SphereProjectScope VIEW_STATES
public static final SphereProjectScope VIEW_MESSAGES
public static final SphereProjectScope MANAGE_API_CLIENTS
public static final SphereProjectScope VIEW_API_CLIENTS
public static final SphereProjectScope MANAGE_DISCOUNT_CODES
public static final SphereProjectScope VIEW_DISCOUNT_CODES
public static SphereProjectScope of(String scope)
public String toScopeString()
toScopeString
in interface SphereScope
public static SphereProjectScope ofScopeString(String scope)
public String getScope()