Interface Permission

All Superinterfaces:
JsonEnum
All Known Implementing Classes:
Permission.PermissionEnum

public interface Permission extends JsonEnum

Permissions grant granular access to Approval Rules, Approval Flows, Business Units, Carts, Orders, Quotes, and Quote Requests.

  • Field Details

    • ADD_CHILD_UNITS

      static final Permission ADD_CHILD_UNITS

      An Associate can create a child Business Unit.

    • UPDATE_ASSOCIATES

      static final Permission UPDATE_ASSOCIATES

      An Associate can manage other Associates.

    • UPDATE_BUSINESS_UNIT_DETAILS

      static final Permission UPDATE_BUSINESS_UNIT_DETAILS

      An Associate can edit Business Unit details.

    • UPDATE_PARENT_UNIT

      static final Permission 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

      static final Permission VIEW_MY_CARTS

      An Associate can view their own B2B Carts.

    • VIEW_OTHERS_CARTS

      static final Permission VIEW_OTHERS_CARTS

      An Associate can view B2B Carts that belong to other Associates.

    • UPDATE_MY_CARTS

      static final Permission UPDATE_MY_CARTS

      An Associate can update their own B2B Carts.

    • UPDATE_OTHERS_CARTS

      static final Permission UPDATE_OTHERS_CARTS

      An Associate can update B2B Carts that belong to other Associates.

    • CREATE_MY_CARTS

      static final Permission CREATE_MY_CARTS

      An Associate can create their own B2B Carts.

    • CREATE_OTHERS_CARTS

      static final Permission CREATE_OTHERS_CARTS

      An Associate can create B2B Carts that belong to other Associates.

    • DELETE_MY_CARTS

      static final Permission DELETE_MY_CARTS

      An Associate can delete their own B2B Carts.

    • DELETE_OTHERS_CARTS

      static final Permission DELETE_OTHERS_CARTS

      An Associate can delete B2B Carts that belong to other Associates.

    • VIEW_MY_ORDERS

      static final Permission VIEW_MY_ORDERS

      An Associate can view their own B2B Orders.

    • VIEW_OTHERS_ORDERS

      static final Permission VIEW_OTHERS_ORDERS

      An Associate can view B2B Orders that belong to other Associates.

    • UPDATE_MY_ORDERS

      static final Permission UPDATE_MY_ORDERS

      An Associate can update their own B2B Orders.

    • UPDATE_OTHERS_ORDERS

      static final Permission UPDATE_OTHERS_ORDERS

      An Associate can update B2B Orders that belong to other Associates.

    • CREATE_MY_ORDERS_FROM_MY_CARTS

      static final Permission CREATE_MY_ORDERS_FROM_MY_CARTS

      An Associate can create Orders from their own B2B Carts.

    • CREATE_MY_ORDERS_FROM_MY_QUOTES

      static final Permission CREATE_MY_ORDERS_FROM_MY_QUOTES

      An Associate can create Orders from their own B2B Quotes.

    • CREATE_ORDERS_FROM_OTHERS_CARTS

      static final Permission CREATE_ORDERS_FROM_OTHERS_CARTS

      An Associate can create Orders from B2B Carts that belong to other Associates.

    • CREATE_ORDERS_FROM_OTHERS_QUOTES

      static final Permission CREATE_ORDERS_FROM_OTHERS_QUOTES

      An Associate can create Orders from B2B Quotes that belong to other Associates.

    • VIEW_MY_QUOTES

      static final Permission VIEW_MY_QUOTES

      An Associate can view their own B2B Quotes.

    • VIEW_OTHERS_QUOTES

      static final Permission VIEW_OTHERS_QUOTES

      An Associate can view B2B Quotes that belong to other Associates.

    • ACCEPT_MY_QUOTES

      static final Permission ACCEPT_MY_QUOTES

      An Associate can accept their own B2B Quotes.

    • ACCEPT_OTHERS_QUOTES

      static final Permission ACCEPT_OTHERS_QUOTES

      An Associate can accept B2B Quotes that belong to other Associates.

    • DECLINE_MY_QUOTES

      static final Permission DECLINE_MY_QUOTES

      An Associate can decline their own B2B Quotes.

    • DECLINE_OTHERS_QUOTES

      static final Permission DECLINE_OTHERS_QUOTES

      An Associate can decline B2B Quotes that belong to other Associates.

    • RENEGOTIATE_MY_QUOTES

      static final Permission RENEGOTIATE_MY_QUOTES

      An Associate can renegotiate their own B2B Quotes.

    • RENEGOTIATE_OTHERS_QUOTES

      static final Permission RENEGOTIATE_OTHERS_QUOTES

      An Associate can renegotiate B2B Quotes that belong to other Associates.

    • REASSIGN_MY_QUOTES

      static final Permission REASSIGN_MY_QUOTES

      An Associate can reassign their own B2B Quotes to a different Associate.

    • REASSIGN_OTHERS_QUOTES

      static final Permission REASSIGN_OTHERS_QUOTES

      An Associate can reassign B2B Quotes that belong to other Associates.

    • VIEW_MY_QUOTE_REQUESTS

      static final Permission VIEW_MY_QUOTE_REQUESTS

      An Associate can view their own B2B Quote Requests.

    • VIEW_OTHERS_QUOTE_REQUESTS

      static final Permission VIEW_OTHERS_QUOTE_REQUESTS

      An Associate can view B2B Quote Requests that belong to other Associates.

    • UPDATE_MY_QUOTE_REQUESTS

      static final Permission UPDATE_MY_QUOTE_REQUESTS

      An Associate can update their own B2B Quote Requests.

    • UPDATE_OTHERS_QUOTE_REQUESTS

      static final Permission UPDATE_OTHERS_QUOTE_REQUESTS

      An Associate can update B2B Quote Requests of other Associates.

    • CREATE_MY_QUOTE_REQUESTS_FROM_MY_CARTS

      static final Permission 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

      static final Permission CREATE_QUOTE_REQUESTS_FROM_OTHERS_CARTS

      An Associate can create Quote Requests from B2B Carts that belong to other Associates.

    • CREATE_APPROVAL_RULES

      static final Permission CREATE_APPROVAL_RULES

      An Associate can create Approval Rules.

    • UPDATE_APPROVAL_RULES

      static final Permission UPDATE_APPROVAL_RULES

      An Associate can update Approval Rules.

    • UPDATE_APPROVAL_FLOWS

      static final Permission UPDATE_APPROVAL_FLOWS

      An Associate can update Approval Flows.

  • Method Details

    • getJsonName

      String getJsonName()
      the JSON value
      Specified by:
      getJsonName in interface JsonEnum
      Returns:
      json value
    • name

      String name()
      the enum value
      Specified by:
      name in interface JsonEnum
      Returns:
      name
    • toString

      String toString()
      convert value to string
      Specified by:
      toString in interface JsonEnum
      Overrides:
      toString in class Object
      Returns:
      string representation
    • findEnum

      static Permission findEnum(String value)
      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

      static Optional<Permission> findEnumViaJsonName(String jsonName)
      method to find enum using the JSON value
      Parameters:
      jsonName - the json value to be wrapped
      Returns:
      optional of enum instance
    • values

      static Permission[] values()
      possible enum values
      Returns:
      array of possible enum values