be.ehealth.businessconnector.mycarenet.agreementv2.service

## Interface AgreementService

- All Known Implementing Classes:
    AgreementServiceImpl

      public interface AgreementService

  Interface for all Agreement services Default impl : `AgreementServiceImpl` Factory : `ServiceFactory`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `AskAgreementResponse` | `askAgreement(SAMLToken token, AskAgreementRequest request)` Sends the request to the WS and retrieves the response.
    `ConsultAgreementResponse` | `consultAgreement(SAMLToken token, ConsultAgreementRequest request)`

- - ### Method Detail

    - #### askAgreement

          AskAgreementResponse askAgreement(SAMLToken token,
                                            AskAgreementRequest request)
                                     throws TechnicalConnectorException

      Sends the request to the WS and retrieves the response. It only needs the SamlToken, no session needs to be active.
      Parameters:
        `token` - the valid SAML token
        `request` - the request to send
      Returns:
        the WS response
      Throws:
        `TechnicalConnectorException` - the technical connector exception

    - #### consultAgreement

          ConsultAgreementResponse consultAgreement(SAMLToken token,
                                                    ConsultAgreementRequest request)
                                             throws TechnicalConnectorException

      Throws:
        `TechnicalConnectorException`

Connector Packaging PERSLOGOPEDIST 4.8.5 API
Copyright © {inceptionYear}-2026 eHealth. All Rights Reserved.