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)

Parameters 

var1

Type: List<healthcloudext.BenefitsVerificationRequest>

Return Value 

Type: List<healthcloudext.BenefitsVerificationResponse>

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}