be.ehealth.businessconnector.mycarenet.agreementv2.session.impl
Class AgreementServiceImpl
java.lang.Object
be.ehealth.businessconnector.mycarenet.agreementv2.session.impl.AgreementServiceImpl
- All Implemented Interfaces:
- AgreementService
public class AgreementServiceImpl
- extends Object
- implements AgreementService
A simplified interface to access the Agreement service
Implements : AgreementService
AgreementServiceImpl
public AgreementServiceImpl(SessionValidator sessionValidator)
throws TechnicalConnectorException
- Instantiates a new Agreement service impl.
- Parameters:
sessionValidator - the sessionValidator
- Throws:
TechnicalConnectorException - the technical connector exception
askAgreement
public AskAgreementResponse askAgreement(AskAgreementRequest request)
throws TechnicalConnectorException
- Description copied from interface:
AgreementService
- Sends the request to the WS (needs a Session to be active, token is retrieved from the session)
- Specified by:
askAgreement in interface AgreementService
- Parameters:
request - the request
- Returns:
- the WS response
- Throws:
TechnicalConnectorException - the technical connector exception
consultAgreement
public ConsultAgreementResponse consultAgreement(ConsultAgreementRequest request)
throws TechnicalConnectorException
- Specified by:
consultAgreement in interface AgreementService
- Throws:
TechnicalConnectorException
Connector Packaging generic 3.28.5 API
Copyright © {inceptionYear}-2025 eHealth. All Rights Reserved.