Package be.ehealth.businessconnector.mycarenet.attestv3.session

# Interface AttestService

All Known Implementing Classes:
  `AttestServiceImpl`

public interface AttestService
The Business Connector for General Practitioners provides a simplified interface to access the eAttest service by providing the following functionality: it retrieves the token from the session Default impl : `AttestServiceImpl` Factory : `AttestSessionServiceFactory`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `CancelAttestationResponse`
  `cancelAttestation(SendRequestType request)`
  Cancel the send attestation asserter to the WS (needs a Session to be active, token is retrieved from the session)
  `SendAttestationResponse`
  `sendAttestation(SendRequestType request)`
  Sends the send attestation asserter to the WS (needs a Session to be active, token is retrieved from the session)

- ## Method Details

  - ### sendAttestation

    SendAttestationResponse sendAttestation(SendRequestType request) throws TechnicalConnectorException
    Sends the send attestation asserter to the WS (needs a Session to be active, token is retrieved from the session)
    Parameters:
      `request` - the consultation asserter
    Returns:
      the WS response
    Throws:
      `TechnicalConnectorException`

  - ### cancelAttestation

    CancelAttestationResponse cancelAttestation(SendRequestType request) throws TechnicalConnectorException
    Cancel the send attestation asserter to the WS (needs a Session to be active, token is retrieved from the session)
    Parameters:
      `request` - the consultation asserter
    Returns:
      the WS response
    Throws:
      `TechnicalConnectorException`