---
schema_version: "1"
id: e921000cbef4357613b8bca4d168384c0e3aab33f283a61ed02dffeb2f8d9331
title: IBenefitsVerificationInterOp Interface
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/health_cloud_object_reference/apex_interface_healthcloudext_IBenefitsVerificationInterOp.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_interface_healthcloudext_IBenefitsVerificationInterOp.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 8792d006914f869336ba17313857c661497b58c7b91901ed0a8699b196d3007d
description: Contains default Apex implementation for verification of benefits.Verifies the benefits.
---
# IBenefitsVerificationInterOp Interface

Contains default Apex implementation for verification of benefits.

## Namespace

[HealthCloudExt](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_namespace_healthcloudext.htm "The HealthCloudExt namespace provides an interface and classes for Health Cloud to integrate with a source electronic health records (EHR) system.")

- **[IBenefitsVerificationInterOp Methods](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_interface_healthcloudext_IBenefitsVerificationInterOp.htm#apex_healthcloudext_IBenefitsVerificationInterOp_methods)**
- **[IBenefitsVerificationInterOp Example Implementation](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_interface_healthcloudext_IBenefitsVerificationInterOp.htm#apex_interface_healthcloudext_IBenefitsVerificationInterOp_Example)**

## IBenefitsVerificationInterOp Methods

The following are methods for IBenefitsVerificationInterOp.

- **[verifyBenefits(var1)](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_interface_healthcloudext_IBenefitsVerificationInterOp.htm#apex_healthcloudext_IBenefitsVerificationInterOp_verifyBenefits)**  
    Verifies the benefits.

### verifyBenefits(var1)

Verifies the benefits.

#### Signature

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

#### Parameters

var1

Type: List<[healthcloudext.BenefitsVerificationRequest](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_healthcloudext_BenefitsVerificationRequest.htm#apex_class_healthcloudext_BenefitsVerificationRequest "Request for verification of benefits.")\>

#### Return Value

Type: List<[healthcloudext.BenefitsVerificationResponse](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_healthcloudext_BenefitsVerificationResponse.htm#apex_class_healthcloudext_BenefitsVerificationResponse "Response for verification of benefits.")\>

## 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;
    }
}