Class ApiClientImpl
java.lang.Object
liberalize.java.backend.sdk.data.network.ApiClientImpl
- All Implemented Interfaces:
ApiClient
public class ApiClientImpl extends java.lang.Object implements ApiClient
-
Constructor Summary
Constructors Constructor Description ApiClientImpl(liberalize.java.backend.sdk.data.network.HttpClient httpClient) -
Method Summary
Modifier and Type Method Description voidauthorizePayment(AuthorizePaymentRequest request, java.lang.String libService, java.lang.String paymentId, ApiResult<PaymentFlowResponse> apiResult)voidcapturePayment(CapturePaymentRequest request, java.lang.String libService, java.lang.String paymentId, ApiResult<PaymentFlowResponse> apiResult)voidcreatePayment(CreatePaymentRequest createPaymentRequest, java.lang.String libService, ApiResult<PaymentFlowResponse> apiResult)voidgetPayment(java.lang.String libService, java.lang.String paymentId, ApiResult<PaymentDetailsResponse> apiResult)voidrefundPayment(RefundPaymentRequest request, java.lang.String libService, java.lang.String paymentId, ApiResult<PaymentFlowResponse> apiResult)voidvoidPayment(java.lang.String libService, java.lang.String paymentId, ApiResult<PaymentFlowResponse> apiResult)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ApiClientImpl
public ApiClientImpl(liberalize.java.backend.sdk.data.network.HttpClient httpClient)
-
-
Method Details
-
createPayment
public void createPayment(CreatePaymentRequest createPaymentRequest, java.lang.String libService, ApiResult<PaymentFlowResponse> apiResult)- Specified by:
createPaymentin interfaceApiClient
-
authorizePayment
public void authorizePayment(AuthorizePaymentRequest request, java.lang.String libService, java.lang.String paymentId, ApiResult<PaymentFlowResponse> apiResult)- Specified by:
authorizePaymentin interfaceApiClient
-
capturePayment
public void capturePayment(CapturePaymentRequest request, java.lang.String libService, java.lang.String paymentId, ApiResult<PaymentFlowResponse> apiResult)- Specified by:
capturePaymentin interfaceApiClient
-
voidPayment
public void voidPayment(java.lang.String libService, java.lang.String paymentId, ApiResult<PaymentFlowResponse> apiResult)- Specified by:
voidPaymentin interfaceApiClient
-
refundPayment
public void refundPayment(RefundPaymentRequest request, java.lang.String libService, java.lang.String paymentId, ApiResult<PaymentFlowResponse> apiResult)- Specified by:
refundPaymentin interfaceApiClient
-
getPayment
public void getPayment(java.lang.String libService, java.lang.String paymentId, ApiResult<PaymentDetailsResponse> apiResult)- Specified by:
getPaymentin interfaceApiClient
-