---
schema_version: "1"
id: e2fb25142a2c446b9836352813a03479a34fae727ccd1662d8438df6246acae5
title: Set Permissions for Apex Classes and Custom Objects and Fields
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/industries-integrations/loyalty/guides/set-perms-apex-unlocked-package.md
canonical_url: https://developer.salesforce.com/docs/industries/loyalty/guide/set-perms-apex-unlocked-package.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 15c38fc57484559ec34248bb813cc60f5aaff6b323d5a452364c4757f5291183
products:
  - Loyalty Management Integrations API
  - Industries Integrations
---
# Set Permissions for Apex Classes and Custom Objects and Fields

Specify Apex executable classes for the POS Integration Kit profile. Set field-level security for custom fields in the Loyalty Program Member object.

1. From Setup, in the Quick Find box, enter `Profiles`, and then select **Profiles**.
2. Select the **POS Integration Kit User profile**.
3. Click **Enabled Apex Class Access**, and then click **Edit**.
4. From the Available Apex Classes list, add these Apex classes to the Enabled Apex Classes list.

   - CancelOrder: This controller class manages order cancellation operations.
   - CancelOrderHelper: This helper class assists with order cancellation functionality.
   - CancelOrderItem: This class represents an item that is canceled within an order.
   - CancelOrderRequest: This class defines the structure for cancel order requests.
   - Configurations: This class handles the loading of configurations.
   - DMLManager: This utility class facilitates interactions with the database.
   - EnrollMember: This controller class manages the enrollment of members.
   - MemberProfile: This controller class handles member profile-related operations.
   - MemberVouchers: This controller class manages member voucher-related operations.
   - OrderCancelResWrapper: This wrapper class encapsulates the response structure for order cancellation requests.
   - PlaceOrderReqWrapper: This wrapper class encapsulates the response structure for place order requests.
   - PlaceOrderRESTResource: This controller class handles the place order API.
   - PlaceOrderResWrapper: This wrapper class encapsulates the input request structure for placing orders.
   - RedeemResponse: This class defines the structure for redemption responses.
   - RESTUtility: This utility class provides generic functionality for REST APIs.

5. Save your changes.
6. From the Profiles page, select the **POS Integration Kit User profile**.
7. Click **Enabled Custom Setting Definitions Access**, and then click **Edit**.
8. Enable access to the POS custom setting definitions.
9. Save your changes.
10. For the POS-related custom fields in the Loyalty Program Member object, provide Read and Edit field-level security.
11. Edit the Transaction Journal Voucher Redemptions object, and provide Create and ModifyAll permissions for the object
12. For the Transaction Journal Voucher Redemptions object, provide Read and Edit access to the Voucher Changed Amount and Activity Type fields.
13. For the Loyalty Order Placement Error object, provide Create access.
14. Save your changes.

**See Also**

[Set Field-Level Security for a Field on All Permission Sets](https://help.salesforce.com/s/articleView?language=en_US&id=sf.users_fields_fls_permsets.htm&type=5)

[Set Field Permissions in Permission Sets and Profiles](https://help.salesforce.com/s/articleView?language=en_US&id=sf.users_profiles_fls.htm&type=5)
