Determine eligibility, calculate benefit amounts, and manage application data directly from Apex using new classes in the PublicSectrSltn namespace. These classes mirror the ConnectApi.IntegratedEligibilityConnect Connect in Apex methods so you can build the integrated application experience in your own Apex logic.
New Classes
- ManageApplicationDataService Class
- Save, update, or delete the data a constituent enters in a benefit application by calling
the
manageApplicationDatamethod. This method backs the integrated application and mirrors theConnectApi.IntegratedEligibilityConnect.manageApplicationDataConnect in Apex method. - BenefitsEligibilityService Class
- Evaluate a constituent's benefit eligibility and calculate benefit amounts from Apex. This
class implements the
Callableinterface and wraps theConnectApi.IntegratedEligibilityConnect.evaluateBenefitsandConnectApi.IntegratedEligibilityConnect.calculateBenefitAmountsConnect in Apex methods.