use of se.riv.clinicalprocess.healthcond.certificate.v1.ResultType in project webcert by sklintyg.
the class MockSendCertificateServiceClientImpl method createResponse.
private SendCertificateToRecipientResponseType createResponse(ResultCodeType resultCodeType, ErrorIdType errorType) {
ResultType resultType = new ResultType();
resultType.setResultCode(resultCodeType);
if (errorType != null) {
resultType.setErrorId(errorType);
}
SendCertificateToRecipientResponseType responseType = new SendCertificateToRecipientResponseType();
responseType.setResult(resultType);
return responseType;
}
Aggregations