public class PayrollConnector extends RestGateway
dynamicHeaders, environment, headers, serviceUrl, timeout, webProxy| Constructor and Description |
|---|
PayrollConnector() |
| Modifier and Type | Method and Description |
|---|---|
String |
getApiKey() |
PayrollEncoder |
getEncoder() |
String |
getPassword() |
String |
getUsername() |
protected String |
handleResponse(GatewayResponse response) |
<T extends PayrollEntity> |
sendEncryptedRequest(IPayrollRequestBuilder requestBuilder,
Class<T> clazz,
Object... args) |
<T extends PayrollEntity> |
sendEncryptedRequest(PayrollRequest request,
Class<T> clazz) |
void |
setApiKey(String apiKey) |
void |
setEncoder(PayrollEncoder encoder) |
void |
setPassword(String password) |
void |
setUsername(String username) |
void |
signIn() |
void |
signOut() |
doTransaction, doTransaction, doTransactionaddMaskedData, getRawResponse, getRawResponse, sendRequest, sendRequest, sendRequest, sendRequestpublic String getUsername()
public void setUsername(String username)
public String getPassword()
public void setPassword(String password)
public String getApiKey()
public void setApiKey(String apiKey)
public PayrollEncoder getEncoder()
public void setEncoder(PayrollEncoder encoder)
public void signIn()
throws ApiException
ApiExceptionpublic void signOut()
throws ApiException
ApiExceptionpublic <T extends PayrollEntity> PayrollResponse<T> sendEncryptedRequest(IPayrollRequestBuilder requestBuilder, Class<T> clazz, Object... args) throws ApiException
ApiExceptionpublic <T extends PayrollEntity> PayrollResponse<T> sendEncryptedRequest(PayrollRequest request, Class<T> clazz) throws ApiException
ApiExceptionprotected String handleResponse(GatewayResponse response) throws GatewayException
handleResponse in class RestGatewayGatewayExceptionCopyright © 2024. All rights reserved.