Class LabsMobileEndpoints
java.lang.Object
es.kukenan.smartfi.microservice.communication.service.api.AbstractEndpointClient
es.kukenan.smartfi.microservice.communication.service.api.AbstractInternalEndpointClient
es.kukenan.smartfi.microservice.communication.service.api.labsmobile.LabsMobileEndpoints
Backoffice endpoints implementation.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intLabsmobile sms test.private StringLabsmobile token.private StringLabsmobile user.private StringSingle sms api endpoint.Fields inherited from class es.kukenan.smartfi.microservice.communication.service.api.AbstractInternalEndpointClient
endpointBasePath, HEADER_USERPROFILEID, restTemplate, USER_IP_HEADER -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class es.kukenan.smartfi.microservice.communication.service.api.AbstractInternalEndpointClient
defaultRequestHeaders, defaultRequestHeaders, extractResponseDataMethods inherited from class es.kukenan.smartfi.microservice.communication.service.api.AbstractEndpointClient
createUri, createUri, defaultRequestHeaders, defaultRequestHeaders, handleConnectionException, message
-
Field Details
-
singleSmsApiEndpointPath
Single sms api endpoint. -
labsMobileUser
Labsmobile user. -
labsMobileToken
Labsmobile token. -
labsMobileTest
@Value("${labsmobile.test}") private int labsMobileTestLabsmobile sms test.
-
-
Constructor Details
-
LabsMobileEndpoints
Full state constructor.- Parameters:
apiBasePath- Backoffice API base path.
-
-
Method Details
-
sendSms
Send sms using LabsMobile api.- Parameters:
from- Name who is sending the sms.to- phone number destination.text- sms text body.- Returns:
- api response.
-