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>

IBenefitsVerificationInterOp Example Implementation

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

global class BenefitsVerificationInterImpl implements healthcloudext.IBenefitsVerificationInterOp {
    
     /*
      @Method Name: verifyBenefits
      @Param: List of BenefitsVerificationRequests
      @Desc: Method which will do external callout to get the benefits verification information and transform this information in the form of the BenefitsVerificationResponse 
    */
    public List<healthcloudext.BenefitsVerificationResponse> verifyBenefits(List<healthcloudext.BenefitsVerificationRequest> request) {
        List<healthcloudext.BenefitsVerificationResponse> responses = new List<healthcloudext.BenefitsVerificationResponse>();
        
        // Customer code to perform external callout to retrieve benefits verification information and transform response
        return responses;
    }
}