public abstract class AbstractService extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
ACCEPT_HEADER |
protected static String |
AUTHORISATIONS |
protected HttpClient |
httpClient |
protected JsonMapper |
jsonMapper |
protected static String |
PERIODIC_PAYMENTS |
protected static String |
SINGLE_PAYMENTS |
protected static String |
STATUS |
| Constructor and Description |
|---|
AbstractService(HttpClient httpClient) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,String> |
addConsentIdHeader(Map<String,String> headers) |
protected Map<String,String> |
addPsuIdHeader(Map<String,String> headers) |
protected Map<String,String> |
addPsuIdTypeHeader(Map<String,String> headers) |
protected static String |
buildUri(String uri,
RequestParams requestParams) |
protected Class<?> |
getPaymentInitiationBodyClass(String paymentService) |
protected Map<String,String> |
populateDeleteHeaders(Map<String,String> headers) |
protected Map<String,String> |
populateGetHeaders(Map<String,String> headers) |
protected Map<String,String> |
populatePostHeaders(Map<String,String> headers) |
protected Map<String,String> |
populatePutHeaders(Map<String,String> headers) |
protected static final String SINGLE_PAYMENTS
protected static final String PERIODIC_PAYMENTS
protected static final String AUTHORISATIONS
protected static final String STATUS
protected static final String ACCEPT_HEADER
protected final JsonMapper jsonMapper
protected final HttpClient httpClient
public AbstractService(HttpClient httpClient)
Copyright © 2020. All rights reserved.