Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

IBenefitsVerificationInterOp Interface

Contains default Apex implementation for verification of benefits.

Namespace

HealthCloudExt

IBenefitsVerificationInterOp Methods

The following are methods for IBenefitsVerificationInterOp.

verifyBenefits(var1)

Verifies the benefits.

Signature

public List<healthcloudext.BenefitsVerificationResponse> verifyBenefits(List<healthcloudext.BenefitsVerificationRequest> var1)

1healthcloudext.IBenefitsVerificationInterOp, verifyBenefits, [List<healthcloudext.BenefitsVerificationRequest>], List<healthcloudext.BenefitsVerificationResponse>

Parameters

var1
Type: List<healthcloudext.BenefitsVerificationRequest>

IBenefitsVerificationInterOp Example Implementation

This is an example implementation of the healthcloudext.IBenefitsVerificationInterOp interface.

1global class BenefitsVerificationInterImpl implements healthcloudext.IBenefitsVerificationInterOp {
2    
3     /*
4      @Method Name: verifyBenefits
5      @Param: List of BenefitsVerificationRequests
6      @Desc: Method which will do external callout to get the benefits verification information and transform this information in the form of the BenefitsVerificationResponse 
7    */
8    public List<healthcloudext.BenefitsVerificationResponse> verifyBenefits(List<healthcloudext.BenefitsVerificationRequest> request) {
9        List<healthcloudext.BenefitsVerificationResponse> responses = new List<healthcloudext.BenefitsVerificationResponse>();
10        
11        // Customer code to perform external callout to retrieve benefits verification information and transform response
12        return responses;
13    }
14}