public final class PaymentsController extends BaseController
GLOBAL_ERROR_CASES| Constructor and Description |
|---|
PaymentsController(io.apimatic.core.GlobalConfiguration globalConfig)
Initializes the controller.
|
getClientInstance, getGlobalConfiguration, getHttpCallbackpublic PaymentsController(io.apimatic.core.GlobalConfiguration globalConfig)
globalConfig - Configurations added in client.public ApiResponse<PaymentAuthorization> getAuthorizedPayment(GetAuthorizedPaymentInput input) throws ApiException, IOException
input - GetAuthorizedPaymentInput object containing request parametersApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.public CompletableFuture<ApiResponse<PaymentAuthorization>> getAuthorizedPaymentAsync(GetAuthorizedPaymentInput input)
input - GetAuthorizedPaymentInput object containing request parameterspublic ApiResponse<CapturedPayment> captureAuthorizedPayment(CaptureAuthorizedPaymentInput input) throws ApiException, IOException
input - CaptureAuthorizedPaymentInput object containing request parametersApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.public CompletableFuture<ApiResponse<CapturedPayment>> captureAuthorizedPaymentAsync(CaptureAuthorizedPaymentInput input)
input - CaptureAuthorizedPaymentInput object containing request parameterspublic ApiResponse<PaymentAuthorization> reauthorizePayment(ReauthorizePaymentInput input) throws ApiException, IOException
input - ReauthorizePaymentInput object containing request parametersApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.public CompletableFuture<ApiResponse<PaymentAuthorization>> reauthorizePaymentAsync(ReauthorizePaymentInput input)
input - ReauthorizePaymentInput object containing request parameterspublic ApiResponse<PaymentAuthorization> voidPayment(VoidPaymentInput input) throws ApiException, IOException
input - VoidPaymentInput object containing request parametersApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.public CompletableFuture<ApiResponse<PaymentAuthorization>> voidPaymentAsync(VoidPaymentInput input)
input - VoidPaymentInput object containing request parameterspublic ApiResponse<CapturedPayment> getCapturedPayment(GetCapturedPaymentInput input) throws ApiException, IOException
input - GetCapturedPaymentInput object containing request parametersApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.public CompletableFuture<ApiResponse<CapturedPayment>> getCapturedPaymentAsync(GetCapturedPaymentInput input)
input - GetCapturedPaymentInput object containing request parameterspublic ApiResponse<Refund> refundCapturedPayment(RefundCapturedPaymentInput input) throws ApiException, IOException
input - RefundCapturedPaymentInput object containing request parametersApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.public CompletableFuture<ApiResponse<Refund>> refundCapturedPaymentAsync(RefundCapturedPaymentInput input)
input - RefundCapturedPaymentInput object containing request parameterspublic ApiResponse<Refund> getRefund(GetRefundInput input) throws ApiException, IOException
input - GetRefundInput object containing request parametersApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.public CompletableFuture<ApiResponse<Refund>> getRefundAsync(GetRefundInput input)
input - GetRefundInput object containing request parametersCopyright © 2025. All rights reserved.