Interface Permission
- All Superinterfaces:
JsonEnum
- All Known Implementing Classes:
Permission.PermissionEnum
Permissions grant granular access to Approval Rules, Approval Flows, Business Units, Carts, Orders, Quotes, and Quote Requests.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
possible values of Permission -
Field Summary
Modifier and TypeFieldDescriptionstatic final Permission
An Associate can accept their own B2B Quotes.static final Permission
An Associate can accept B2B Quotes that belong to other Associates.static final Permission
An Associate can create a child Business Unit.static final Permission
An Associate can create Approval Rules.static final Permission
An Associate can create their own B2B Carts.static final Permission
An Associate can create Orders from their own B2B Carts.static final Permission
An Associate can create Orders from their own B2B Quotes.static final Permission
An Associate can create their own Quote Requests from their own B2B Carts.static final Permission
An Associate can create Orders from B2B Carts that belong to other Associates.static final Permission
An Associate can create Orders from B2B Quotes that belong to other Associates.static final Permission
An Associate can create B2B Carts that belong to other Associates.static final Permission
An Associate can create Quote Requests from B2B Carts that belong to other Associates.static final Permission
An Associate can decline their own B2B Quotes.static final Permission
An Associate can decline B2B Quotes that belong to other Associates.static final Permission
An Associate can delete their own B2B Carts.static final Permission
An Associate can delete B2B Carts that belong to other Associates.static final Permission
An Associate can reassign their own B2B Quotes to a different Associate.static final Permission
An Associate can reassign B2B Quotes that belong to other Associates.static final Permission
An Associate can renegotiate their own B2B Quotes.static final Permission
An Associate can renegotiate B2B Quotes that belong to other Associates.static final Permission
An Associate can update Approval Flows.static final Permission
An Associate can update Approval Rules.static final Permission
An Associate can manage other Associates.static final Permission
An Associate can edit Business Unit details.static final Permission
An Associate can update their own B2B Carts.static final Permission
An Associate can update their own B2B Orders.static final Permission
An Associate can update their own B2B Quote Requests.static final Permission
An Associate can update B2B Carts that belong to other Associates.static final Permission
An Associate can update B2B Orders that belong to other Associates.static final Permission
An Associate can update B2B Quote Requests of other Associates.static final Permission
An Associate can assign a Business Unit to be the parent unit.static final Permission
An Associate can view their own B2B Carts.static final Permission
An Associate can view their own B2B Orders.static final Permission
An Associate can view their own B2B Quote Requests.static final Permission
An Associate can view their own B2B Quotes.static final Permission
An Associate can view B2B Carts that belong to other Associates.static final Permission
An Associate can view B2B Orders that belong to other Associates.static final Permission
An Associate can view B2B Quote Requests that belong to other Associates.static final Permission
An Associate can view B2B Quotes that belong to other Associates. -
Method Summary
Modifier and TypeMethodDescriptionstatic Permission
factory method for a enum value of Permission if no enum has been found an anonymous instance will be createdstatic Optional<Permission>
findEnumViaJsonName
(String jsonName) method to find enum using the JSON valuethe JSON valuename()
the enum valuetoString()
convert value to stringstatic Permission[]
values()
possible enum values
-
Field Details
-
ADD_CHILD_UNITS
An Associate can create a child Business Unit.
-
UPDATE_ASSOCIATES
An Associate can manage other Associates.
-
UPDATE_BUSINESS_UNIT_DETAILS
An Associate can edit Business Unit details.
-
UPDATE_PARENT_UNIT
An Associate can assign a Business Unit to be the parent unit. Additionally, the Associate requires the
AddChildUnits
permission in the new parent to perform the assignment. -
VIEW_MY_CARTS
An Associate can view their own B2B Carts.
-
VIEW_OTHERS_CARTS
An Associate can view B2B Carts that belong to other Associates.
-
UPDATE_MY_CARTS
An Associate can update their own B2B Carts.
-
UPDATE_OTHERS_CARTS
An Associate can update B2B Carts that belong to other Associates.
-
CREATE_MY_CARTS
An Associate can create their own B2B Carts.
-
CREATE_OTHERS_CARTS
An Associate can create B2B Carts that belong to other Associates.
-
DELETE_MY_CARTS
An Associate can delete their own B2B Carts.
-
DELETE_OTHERS_CARTS
An Associate can delete B2B Carts that belong to other Associates.
-
VIEW_MY_ORDERS
An Associate can view their own B2B Orders.
-
VIEW_OTHERS_ORDERS
An Associate can view B2B Orders that belong to other Associates.
-
UPDATE_MY_ORDERS
An Associate can update their own B2B Orders.
-
UPDATE_OTHERS_ORDERS
An Associate can update B2B Orders that belong to other Associates.
-
CREATE_MY_ORDERS_FROM_MY_CARTS
An Associate can create Orders from their own B2B Carts.
-
CREATE_MY_ORDERS_FROM_MY_QUOTES
An Associate can create Orders from their own B2B Quotes.
-
CREATE_ORDERS_FROM_OTHERS_CARTS
An Associate can create Orders from B2B Carts that belong to other Associates.
-
CREATE_ORDERS_FROM_OTHERS_QUOTES
An Associate can create Orders from B2B Quotes that belong to other Associates.
-
VIEW_MY_QUOTES
An Associate can view their own B2B Quotes.
-
VIEW_OTHERS_QUOTES
An Associate can view B2B Quotes that belong to other Associates.
-
ACCEPT_MY_QUOTES
An Associate can accept their own B2B Quotes.
-
ACCEPT_OTHERS_QUOTES
An Associate can accept B2B Quotes that belong to other Associates.
-
DECLINE_MY_QUOTES
An Associate can decline their own B2B Quotes.
-
DECLINE_OTHERS_QUOTES
An Associate can decline B2B Quotes that belong to other Associates.
-
RENEGOTIATE_MY_QUOTES
An Associate can renegotiate their own B2B Quotes.
-
RENEGOTIATE_OTHERS_QUOTES
An Associate can renegotiate B2B Quotes that belong to other Associates.
-
REASSIGN_MY_QUOTES
An Associate can reassign their own B2B Quotes to a different Associate.
-
REASSIGN_OTHERS_QUOTES
An Associate can reassign B2B Quotes that belong to other Associates.
-
VIEW_MY_QUOTE_REQUESTS
An Associate can view their own B2B Quote Requests.
-
VIEW_OTHERS_QUOTE_REQUESTS
An Associate can view B2B Quote Requests that belong to other Associates.
-
UPDATE_MY_QUOTE_REQUESTS
An Associate can update their own B2B Quote Requests.
-
UPDATE_OTHERS_QUOTE_REQUESTS
An Associate can update B2B Quote Requests of other Associates.
-
CREATE_MY_QUOTE_REQUESTS_FROM_MY_CARTS
An Associate can create their own Quote Requests from their own B2B Carts.
-
CREATE_QUOTE_REQUESTS_FROM_OTHERS_CARTS
An Associate can create Quote Requests from B2B Carts that belong to other Associates.
-
CREATE_APPROVAL_RULES
An Associate can create Approval Rules.
-
UPDATE_APPROVAL_RULES
An Associate can update Approval Rules.
-
UPDATE_APPROVAL_FLOWS
An Associate can update Approval Flows.
-
-
Method Details
-
getJsonName
String getJsonName()the JSON value- Specified by:
getJsonName
in interfaceJsonEnum
- Returns:
- json value
-
name
String name()the enum value -
toString
String toString()convert value to string -
findEnum
factory method for a enum value of Permission if no enum has been found an anonymous instance will be created- Parameters:
value
- the enum value to be wrapped- Returns:
- enum instance
-
findEnumViaJsonName
method to find enum using the JSON value- Parameters:
jsonName
- the json value to be wrapped- Returns:
- optional of enum instance
-
values
possible enum values- Returns:
- array of possible enum values
-