Interface PaymentService.WithRawResponse
-
- All Implemented Interfaces:
public interface PaymentService.WithRawResponseA view of PaymentService that provides access to raw HTTP responses for each method.
-
-
Method Summary
-
-
Method Detail
-
withOptions
abstract PaymentService.WithRawResponse withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
createIntent
@MustBeClosed() HttpResponseFor<PaymentCreateIntentResponse> createIntent(PaymentCreateIntentParams params)
Returns a raw HTTP response for
post /v1/payment/intent, but is otherwise the same as PaymentService.createIntent.
-
createIntent
@MustBeClosed() abstract HttpResponseFor<PaymentCreateIntentResponse> createIntent(PaymentCreateIntentParams params, RequestOptions requestOptions)
-
createMethod
@MustBeClosed() HttpResponseFor<PaymentCreateMethodResponse> createMethod(PaymentCreateMethodParams params)
Returns a raw HTTP response for
post /v1/payment/method, but is otherwise the same as PaymentService.createMethod.
-
createMethod
@MustBeClosed() abstract HttpResponseFor<PaymentCreateMethodResponse> createMethod(PaymentCreateMethodParams params, RequestOptions requestOptions)
-
deleteIntent
@MustBeClosed() HttpResponse deleteIntent(PaymentDeleteIntentParams params)
Returns a raw HTTP response for
delete /v1/payment/intent, but is otherwise the same as PaymentService.deleteIntent.
-
deleteIntent
@MustBeClosed() abstract HttpResponse deleteIntent(PaymentDeleteIntentParams params, RequestOptions requestOptions)
-
refund
@MustBeClosed() HttpResponseFor<PaymentRefundResponse> refund(PaymentRefundParams params)
Returns a raw HTTP response for
post /v1/payment/refund, but is otherwise the same as PaymentService.refund.
-
refund
@MustBeClosed() abstract HttpResponseFor<PaymentRefundResponse> refund(PaymentRefundParams params, RequestOptions requestOptions)
-
reverse
@MustBeClosed() HttpResponseFor<PaymentReverseResponse> reverse()
Returns a raw HTTP response for
post /v1/payment/reverse, but is otherwise the same as PaymentService.reverse.
-
reverse
@MustBeClosed() abstract HttpResponseFor<PaymentReverseResponse> reverse(PaymentReverseParams params, RequestOptions requestOptions)
-
reverse
@MustBeClosed() HttpResponseFor<PaymentReverseResponse> reverse(PaymentReverseParams params)
-
reverse
@MustBeClosed() HttpResponseFor<PaymentReverseResponse> reverse(RequestOptions requestOptions)
-
updateIntent
@MustBeClosed() HttpResponseFor<PaymentUpdateIntentResponse> updateIntent(PaymentUpdateIntentParams params)
Returns a raw HTTP response for
patch /v1/payment/intent, but is otherwise the same as PaymentService.updateIntent.
-
updateIntent
@MustBeClosed() abstract HttpResponseFor<PaymentUpdateIntentResponse> updateIntent(PaymentUpdateIntentParams params, RequestOptions requestOptions)
-
-
-
-