Enum Permission.PermissionEnum
java.lang.Object
java.lang.Enum<Permission.PermissionEnum>
com.commercetools.api.models.associate_role.Permission.PermissionEnum
- All Implemented Interfaces:
Permission
,JsonEnum
,Serializable
,Comparable<Permission.PermissionEnum>
,java.lang.constant.Constable
- Enclosing interface:
- Permission
public static enum Permission.PermissionEnum
extends Enum<Permission.PermissionEnum>
implements Permission
possible values of Permission
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface com.commercetools.api.models.associate_role.Permission
Permission.PermissionEnum
-
Enum Constant Summary
Enum ConstantDescriptionAcceptMyQuotesAcceptOthersQuotesAddChildUnitsCreateApprovalRulesCreateMyCartsCreateMyOrdersFromMyCartsCreateMyOrdersFromMyQuotesCreateMyQuoteRequestsFromMyCartsCreateOrdersFromOthersCartsCreateOrdersFromOthersQuotesCreateOthersCartsCreateQuoteRequestsFromOthersCartsDeclineMyQuotesDeclineOthersQuotesDeleteMyCartsDeleteOthersCartsReassignMyQuotesReassignOthersQuotesRenegotiateMyQuotesRenegotiateOthersQuotesUpdateApprovalFlowsUpdateApprovalRulesUpdateAssociatesUpdateBusinessUnitDetailsUpdateMyCartsUpdateMyOrdersUpdateMyQuoteRequestsUpdateOthersCartsUpdateOthersOrdersUpdateOthersQuoteRequestsUpdateParentUnitViewMyCartsViewMyOrdersViewMyQuoteRequestsViewMyQuotesViewOthersCartsViewOthersOrdersViewOthersQuoteRequestsViewOthersQuotes -
Field Summary
Fields inherited from interface com.commercetools.api.models.associate_role.Permission
ACCEPT_MY_QUOTES, ACCEPT_OTHERS_QUOTES, ADD_CHILD_UNITS, CREATE_APPROVAL_RULES, CREATE_MY_CARTS, CREATE_MY_ORDERS_FROM_MY_CARTS, CREATE_MY_ORDERS_FROM_MY_QUOTES, CREATE_MY_QUOTE_REQUESTS_FROM_MY_CARTS, CREATE_ORDERS_FROM_OTHERS_CARTS, CREATE_ORDERS_FROM_OTHERS_QUOTES, CREATE_OTHERS_CARTS, CREATE_QUOTE_REQUESTS_FROM_OTHERS_CARTS, DECLINE_MY_QUOTES, DECLINE_OTHERS_QUOTES, DELETE_MY_CARTS, DELETE_OTHERS_CARTS, REASSIGN_MY_QUOTES, REASSIGN_OTHERS_QUOTES, RENEGOTIATE_MY_QUOTES, RENEGOTIATE_OTHERS_QUOTES, UPDATE_APPROVAL_FLOWS, UPDATE_APPROVAL_RULES, UPDATE_ASSOCIATES, UPDATE_BUSINESS_UNIT_DETAILS, UPDATE_MY_CARTS, UPDATE_MY_ORDERS, UPDATE_MY_QUOTE_REQUESTS, UPDATE_OTHERS_CARTS, UPDATE_OTHERS_ORDERS, UPDATE_OTHERS_QUOTE_REQUESTS, UPDATE_PARENT_UNIT, VIEW_MY_CARTS, VIEW_MY_ORDERS, VIEW_MY_QUOTE_REQUESTS, VIEW_MY_QUOTES, VIEW_OTHERS_CARTS, VIEW_OTHERS_ORDERS, VIEW_OTHERS_QUOTE_REQUESTS, VIEW_OTHERS_QUOTES
-
Method Summary
Modifier and TypeMethodDescriptionthe JSON valuetoString()
convert value to stringstatic Permission.PermissionEnum
Returns the enum constant of this type with the specified name.static Permission.PermissionEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
Methods inherited from interface com.commercetools.api.models.associate_role.Permission
name
-
Enum Constant Details
-
ADD_CHILD_UNITS
AddChildUnits -
UPDATE_ASSOCIATES
UpdateAssociates -
UPDATE_BUSINESS_UNIT_DETAILS
UpdateBusinessUnitDetails -
UPDATE_PARENT_UNIT
UpdateParentUnit -
VIEW_MY_CARTS
ViewMyCarts -
VIEW_OTHERS_CARTS
ViewOthersCarts -
UPDATE_MY_CARTS
UpdateMyCarts -
UPDATE_OTHERS_CARTS
UpdateOthersCarts -
CREATE_MY_CARTS
CreateMyCarts -
CREATE_OTHERS_CARTS
CreateOthersCarts -
DELETE_MY_CARTS
DeleteMyCarts -
DELETE_OTHERS_CARTS
DeleteOthersCarts -
VIEW_MY_ORDERS
ViewMyOrders -
VIEW_OTHERS_ORDERS
ViewOthersOrders -
UPDATE_MY_ORDERS
UpdateMyOrders -
UPDATE_OTHERS_ORDERS
UpdateOthersOrders -
CREATE_MY_ORDERS_FROM_MY_CARTS
CreateMyOrdersFromMyCarts -
CREATE_MY_ORDERS_FROM_MY_QUOTES
CreateMyOrdersFromMyQuotes -
CREATE_ORDERS_FROM_OTHERS_CARTS
CreateOrdersFromOthersCarts -
CREATE_ORDERS_FROM_OTHERS_QUOTES
CreateOrdersFromOthersQuotes -
VIEW_MY_QUOTES
ViewMyQuotes -
VIEW_OTHERS_QUOTES
ViewOthersQuotes -
ACCEPT_MY_QUOTES
AcceptMyQuotes -
ACCEPT_OTHERS_QUOTES
AcceptOthersQuotes -
DECLINE_MY_QUOTES
DeclineMyQuotes -
DECLINE_OTHERS_QUOTES
DeclineOthersQuotes -
RENEGOTIATE_MY_QUOTES
RenegotiateMyQuotes -
RENEGOTIATE_OTHERS_QUOTES
RenegotiateOthersQuotes -
REASSIGN_MY_QUOTES
ReassignMyQuotes -
REASSIGN_OTHERS_QUOTES
ReassignOthersQuotes -
VIEW_MY_QUOTE_REQUESTS
ViewMyQuoteRequests -
VIEW_OTHERS_QUOTE_REQUESTS
ViewOthersQuoteRequests -
UPDATE_MY_QUOTE_REQUESTS
UpdateMyQuoteRequests -
UPDATE_OTHERS_QUOTE_REQUESTS
UpdateOthersQuoteRequests -
CREATE_MY_QUOTE_REQUESTS_FROM_MY_CARTS
CreateMyQuoteRequestsFromMyCarts -
CREATE_QUOTE_REQUESTS_FROM_OTHERS_CARTS
CreateQuoteRequestsFromOthersCarts -
CREATE_APPROVAL_RULES
CreateApprovalRules -
UPDATE_APPROVAL_RULES
UpdateApprovalRules -
UPDATE_APPROVAL_FLOWS
UpdateApprovalFlows
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getJsonName
Description copied from interface:Permission
the JSON value- Specified by:
getJsonName
in interfaceJsonEnum
- Specified by:
getJsonName
in interfacePermission
- Returns:
- json value
-
toString
Description copied from interface:Permission
convert value to string- Specified by:
toString
in interfaceJsonEnum
- Specified by:
toString
in interfacePermission
- Overrides:
toString
in classEnum<Permission.PermissionEnum>
- Returns:
- string representation
-