Class ApcEndpoints
java.lang.Object
es.kukenan.smartfi.microservice.smartficore.service.api.AbstractEndpointClient
es.kukenan.smartfi.microservice.smartficore.service.api.AbstractInternalEndpointClient
es.kukenan.smartfi.microservice.smartficore.service.api.apc.ApcEndpoints
APC endpoints implementation.
-
Field Summary
FieldsFields inherited from class es.kukenan.smartfi.microservice.smartficore.service.api.AbstractInternalEndpointClient
endpointBasePath, HEADER_USERPROFILEID, restTemplate, USER_IP_HEADER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate es.kukenan.smartfi.microservice.backoffice.dtos.core.apc.response.ApcResponsecallPostCheckPersonOnApc(es.kukenan.smartfi.microservice.backoffice.dtos.core.apc.ApcRequest apcRequest) Call the .net API for APC Check.es.kukenan.smartfi.microservice.backoffice.dtos.core.apc.response.ApcResponsecheckPersonOnApc(es.kukenan.smartfi.microservice.backoffice.dtos.core.apc.ApcRequest request) Post for check person on APC.Methods inherited from class es.kukenan.smartfi.microservice.smartficore.service.api.AbstractInternalEndpointClient
defaultRequestHeaders, defaultRequestHeaders, extractResponseBody, extractResponseDataMethods inherited from class es.kukenan.smartfi.microservice.smartficore.service.api.AbstractEndpointClient
createUri, createUri, defaultRequestHeaders, handleConnectionException, message
-
Field Details
-
CHECK_PERSON_PATH
Path to check person path.- See Also:
-
-
Constructor Details
-
ApcEndpoints
Full state constructor.- Parameters:
apiBasePath- Apc API base path.
-
-
Method Details
-
checkPersonOnApc
public es.kukenan.smartfi.microservice.backoffice.dtos.core.apc.response.ApcResponse checkPersonOnApc(es.kukenan.smartfi.microservice.backoffice.dtos.core.apc.ApcRequest request) Post for check person on APC.- Parameters:
request- APC Request object.- Returns:
- Result APC call.
-
callPostCheckPersonOnApc
private es.kukenan.smartfi.microservice.backoffice.dtos.core.apc.response.ApcResponse callPostCheckPersonOnApc(es.kukenan.smartfi.microservice.backoffice.dtos.core.apc.ApcRequest apcRequest) Call the .net API for APC Check.- Parameters:
apcRequest- apc request object.- Returns:
- response object.
-