Interface PaymentService
-
- All Implemented Interfaces:
public interface PaymentService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfacePaymentService.WithRawResponseA view of PaymentService that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract PaymentService.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. abstract PaymentServicewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. PaymentCreateIntentResponsecreateIntent(PaymentCreateIntentParams params)Creates a payment intent that will be passed to the appropriate web or mobile SDK to collect payment. abstract PaymentCreateIntentResponsecreateIntent(PaymentCreateIntentParams params, RequestOptions requestOptions)PaymentCreateMethodResponsecreateMethod(PaymentCreateMethodParams params)Enables creation of an EBT payment method. abstract PaymentCreateMethodResponsecreateMethod(PaymentCreateMethodParams params, RequestOptions requestOptions)UnitdeleteIntent(PaymentDeleteIntentParams params)Enables deletion of a pending payment intent. abstract UnitdeleteIntent(PaymentDeleteIntentParams params, RequestOptions requestOptions)PaymentRefundResponserefund(PaymentRefundParams params)Allows a payment to be fully or partially refunded based on the refund intent parameters. abstract PaymentRefundResponserefund(PaymentRefundParams params, RequestOptions requestOptions)PaymentReverseResponsereverse()Allows a payment or refund to be reversed. abstract PaymentReverseResponsereverse(PaymentReverseParams params, RequestOptions requestOptions)PaymentReverseResponsereverse(PaymentReverseParams params)PaymentReverseResponsereverse(RequestOptions requestOptions)PaymentUpdateIntentResponseupdateIntent(PaymentUpdateIntentParams params)Enables updating a payment intent that is not in a terminal state. abstract PaymentUpdateIntentResponseupdateIntent(PaymentUpdateIntentParams params, RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
abstract PaymentService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract 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)
Creates a payment intent that will be passed to the appropriate web or mobile SDK to collect payment. A payment intent represents an "intended" money movement, and will expire after 1 hour if not completed.
-
createIntent
abstract PaymentCreateIntentResponse createIntent(PaymentCreateIntentParams params, RequestOptions requestOptions)
-
createMethod
PaymentCreateMethodResponse createMethod(PaymentCreateMethodParams params)
Enables creation of an EBT payment method.
-
createMethod
abstract PaymentCreateMethodResponse createMethod(PaymentCreateMethodParams params, RequestOptions requestOptions)
-
deleteIntent
Unit deleteIntent(PaymentDeleteIntentParams params)
Enables deletion of a pending payment intent. Payment intents in a terminal state cannot be deleted.
-
deleteIntent
abstract Unit deleteIntent(PaymentDeleteIntentParams params, RequestOptions requestOptions)
-
refund
PaymentRefundResponse refund(PaymentRefundParams params)
Allows a payment to be fully or partially refunded based on the refund intent parameters. A refunded payment will appear on a customer's EBT account.
-
refund
abstract PaymentRefundResponse refund(PaymentRefundParams params, RequestOptions requestOptions)
-
reverse
PaymentReverseResponse reverse()
Allows a payment or refund to be reversed. A reversed payment will not appear on a customer's EBT account.
-
reverse
abstract PaymentReverseResponse reverse(PaymentReverseParams params, RequestOptions requestOptions)
-
reverse
PaymentReverseResponse reverse(PaymentReverseParams params)
-
reverse
PaymentReverseResponse reverse(RequestOptions requestOptions)
-
updateIntent
PaymentUpdateIntentResponse updateIntent(PaymentUpdateIntentParams params)
Enables updating a payment intent that is not in a terminal state.
-
updateIntent
abstract PaymentUpdateIntentResponse updateIntent(PaymentUpdateIntentParams params, RequestOptions requestOptions)
-
-
-
-