Package com.bennyapi.services.blocking
Class PaymentServiceImpl
-
- All Implemented Interfaces:
-
com.bennyapi.services.blocking.PaymentService
public final class PaymentServiceImpl implements PaymentService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classPaymentServiceImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description PaymentService.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. PaymentServicewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. PaymentCreateIntentResponsecreateIntent(PaymentCreateIntentParams params, RequestOptions requestOptions)PaymentCreateMethodResponsecreateMethod(PaymentCreateMethodParams params, RequestOptions requestOptions)UnitdeleteIntent(PaymentDeleteIntentParams params, RequestOptions requestOptions)PaymentRefundResponserefund(PaymentRefundParams params, RequestOptions requestOptions)PaymentReverseResponsereverse(PaymentReverseParams params, RequestOptions requestOptions)PaymentUpdateIntentResponseupdateIntent(PaymentUpdateIntentParams params, RequestOptions requestOptions)-
Methods inherited from class com.bennyapi.services.blocking.PaymentService
createIntent, createMethod, deleteIntent, refund, reverse, reverse, reverse, updateIntent -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
withRawResponse
PaymentService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
PaymentService withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
createIntent
PaymentCreateIntentResponse createIntent(PaymentCreateIntentParams params, RequestOptions requestOptions)
-
createMethod
PaymentCreateMethodResponse createMethod(PaymentCreateMethodParams params, RequestOptions requestOptions)
-
deleteIntent
Unit deleteIntent(PaymentDeleteIntentParams params, RequestOptions requestOptions)
-
refund
PaymentRefundResponse refund(PaymentRefundParams params, RequestOptions requestOptions)
-
reverse
PaymentReverseResponse reverse(PaymentReverseParams params, RequestOptions requestOptions)
-
updateIntent
PaymentUpdateIntentResponse updateIntent(PaymentUpdateIntentParams params, RequestOptions requestOptions)
-
-
-
-