use of se.inera.intygstjanster.ts.services.v1.ResultatTyp in project webcert by sklintyg.
the class RegisterTSBasResponderStub method registerTSBas.
@Override
@StubModeAware
public RegisterTSBasResponseType registerTSBas(String logicalAddress, RegisterTSBasType parameters) {
intygStore.addIntyg(buildStubInternalCertificate(parameters));
RegisterTSBasResponseType resp = new RegisterTSBasResponseType();
ResultatTyp resultatTyp = new ResultatTyp();
resultatTyp.setResultCode(ResultCodeType.OK);
resp.setResultat(resultatTyp);
return resp;
}
use of se.inera.intygstjanster.ts.services.v1.ResultatTyp in project webcert by sklintyg.
the class RegisterTSDiabetesResponderStub method registerTSDiabetes.
@Override
@StubModeAware
public RegisterTSDiabetesResponseType registerTSDiabetes(String logicalAddress, RegisterTSDiabetesType parameters) {
intygStore.addIntyg(buildStubInternalCertificate(parameters));
RegisterTSDiabetesResponseType resp = new RegisterTSDiabetesResponseType();
ResultatTyp resultatTyp = new ResultatTyp();
resultatTyp.setResultCode(ResultCodeType.OK);
resp.setResultat(resultatTyp);
return resp;
}
Aggregations