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

Set Field Permissions in Permission Sets and Profiles