public class BasePaymentInitiationService extends AbstractService implements PaymentInitiationService
ACCEPT_HEADER, APPLICATION_JSON, AUTHORISATIONS, CHARSET_PATTERN, CONTENT_TYPE_HEADER, httpClient, jsonMapper, STATUS| Constructor and Description |
|---|
BasePaymentInitiationService(String baseUri) |
addConsentIdHeader, buildUri, getSinglePaymentInitiationBodyClass, jsonResponseHandler, populateDeleteHeaders, populateGetHeaders, populatePostHeaders, populatePutHeaders, responseException, setHttpClientpublic BasePaymentInitiationService(String baseUri)
public Response<PaymentInitiationRequestResponse> initiateSinglePayment(String paymentProduct, RequestHeaders requestHeaders, Object body)
initiateSinglePayment in interface PaymentInitiationServiceprotected <T> Response<PaymentInitiationRequestResponse> initiateSinglePayment(StandardPaymentProduct paymentProduct, Object body, RequestHeaders requestHeaders, Class<T> klass, Function<T,PaymentInitiationRequestResponse> mapper)
public Response<SinglePaymentInitiationInformationWithStatusResponse> getSinglePaymentInformation(String paymentProduct, String paymentId, RequestHeaders requestHeaders)
getSinglePaymentInformation in interface PaymentInitiationServicepublic Response<PaymentInitiationScaStatusResponse> getPaymentInitiationScaStatus(String paymentService, String paymentProduct, String paymentId, String authorisationId, RequestHeaders requestHeaders)
getPaymentInitiationScaStatus in interface PaymentInitiationServicepublic Response<PaymentInitiationStatus> getSinglePaymentInitiationStatus(String paymentProduct, String paymentId, RequestHeaders requestHeaders)
getSinglePaymentInitiationStatus in interface PaymentInitiationServicepublic Response<String> getSinglePaymentInitiationStatusAsString(String paymentProduct, String paymentId, RequestHeaders requestHeaders)
getSinglePaymentInitiationStatusAsString in interface PaymentInitiationServicepublic Response<PaymentInitiationAuthorisationResponse> getPaymentInitiationAuthorisation(String paymentService, String paymentProduct, String paymentId, RequestHeaders requestHeaders)
getPaymentInitiationAuthorisation in interface PaymentInitiationServicepublic Response<StartScaProcessResponse> startSinglePaymentAuthorisation(String paymentProduct, String paymentId, RequestHeaders requestHeaders, UpdatePsuAuthentication updatePsuAuthentication)
startSinglePaymentAuthorisation in interface PaymentInitiationServiceprotected <T> Response<StartScaProcessResponse> startSinglePaymentAuthorisation(PaymentProduct paymentProduct, String paymentId, RequestHeaders requestHeaders, UpdatePsuAuthentication updatePsuAuthentication, Class<T> klass, Function<T,StartScaProcessResponse> mapper)
public Response<UpdatePsuAuthenticationResponse> updatePaymentPsuData(String paymentService, String paymentProduct, String paymentId, String authorisationId, RequestHeaders requestHeaders, UpdatePsuAuthentication updatePsuAuthentication)
updatePaymentPsuData in interface PaymentInitiationServiceprotected <T> Response<UpdatePsuAuthenticationResponse> updatePaymentPsuData(String paymentService, PaymentProduct paymentProduct, String paymentId, String authorisationId, RequestHeaders requestHeaders, UpdatePsuAuthentication updatePsuAuthentication, Class<T> klass, Function<T,UpdatePsuAuthenticationResponse> mapper)
public Response<SelectPsuAuthenticationMethodResponse> updatePaymentPsuData(String paymentService, String paymentProduct, String paymentId, String authorisationId, RequestHeaders requestHeaders, SelectPsuAuthenticationMethod selectPsuAuthenticationMethod)
updatePaymentPsuData in interface PaymentInitiationServiceprotected <T> Response<SelectPsuAuthenticationMethodResponse> updatePaymentPsuData(String paymentService, PaymentProduct paymentProduct, String paymentId, String authorisationId, RequestHeaders requestHeaders, SelectPsuAuthenticationMethod selectPsuAuthenticationMethod, Class<T> klass, Function<T,SelectPsuAuthenticationMethodResponse> mapper)
public Response<ScaStatusResponse> updatePaymentPsuData(String paymentService, String paymentProduct, String paymentId, String authorisationId, RequestHeaders requestHeaders, TransactionAuthorisation transactionAuthorisation)
updatePaymentPsuData in interface PaymentInitiationServiceprotected <T> Response<ScaStatusResponse> updatePaymentPsuData(String paymentService, String paymentProduct, String paymentId, String authorisationId, RequestHeaders requestHeaders, TransactionAuthorisation transactionAuthorisation, Class<T> klass, Function<T,ScaStatusResponse> mapper)
protected String getUpdatePaymentPsuDataUri(String paymentService, String paymentProduct, String paymentId, String authorisationId)
protected String getSinglePaymentBaseUri()
protected String getPaymentBaseUri()
Copyright © 2019. All rights reserved.