Class AuthorizationService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.testhelpers.issuing.AuthorizationService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCapture a test-mode authorization.capture
(String authorization, RequestOptions options) Capture a test-mode authorization.capture
(String authorization, AuthorizationCaptureParams params) Capture a test-mode authorization.capture
(String authorization, AuthorizationCaptureParams params, RequestOptions options) Capture a test-mode authorization.create
(AuthorizationCreateParams params) Create a test-mode authorization.create
(AuthorizationCreateParams params, RequestOptions options) Create a test-mode authorization.Expire a test-mode Authorization.expire
(String authorization, RequestOptions options) Expire a test-mode Authorization.expire
(String authorization, AuthorizationExpireParams params) Expire a test-mode Authorization.expire
(String authorization, AuthorizationExpireParams params, RequestOptions options) Expire a test-mode Authorization.finalizeAmount
(String authorization, AuthorizationFinalizeAmountParams params) Finalize the amount on an Authorization prior to capture, when the initial authorization was for an estimated amount.finalizeAmount
(String authorization, AuthorizationFinalizeAmountParams params, RequestOptions options) Finalize the amount on an Authorization prior to capture, when the initial authorization was for an estimated amount.increment
(String authorization, AuthorizationIncrementParams params) Increment a test-mode Authorization.increment
(String authorization, AuthorizationIncrementParams params, RequestOptions options) Increment a test-mode Authorization.Reverse a test-mode Authorization.reverse
(String authorization, RequestOptions options) Reverse a test-mode Authorization.reverse
(String authorization, AuthorizationReverseParams params) Reverse a test-mode Authorization.reverse
(String authorization, AuthorizationReverseParams params, RequestOptions options) Reverse a test-mode Authorization.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
AuthorizationService
-
-
Method Details
-
create
Create a test-mode authorization.- Throws:
StripeException
-
create
public Authorization create(AuthorizationCreateParams params, RequestOptions options) throws StripeException Create a test-mode authorization.- Throws:
StripeException
-
capture
public Authorization capture(String authorization, AuthorizationCaptureParams params) throws StripeException Capture a test-mode authorization.- Throws:
StripeException
-
capture
Capture a test-mode authorization.- Throws:
StripeException
-
capture
Capture a test-mode authorization.- Throws:
StripeException
-
capture
public Authorization capture(String authorization, AuthorizationCaptureParams params, RequestOptions options) throws StripeException Capture a test-mode authorization.- Throws:
StripeException
-
expire
public Authorization expire(String authorization, AuthorizationExpireParams params) throws StripeException Expire a test-mode Authorization.- Throws:
StripeException
-
expire
Expire a test-mode Authorization.- Throws:
StripeException
-
expire
Expire a test-mode Authorization.- Throws:
StripeException
-
expire
public Authorization expire(String authorization, AuthorizationExpireParams params, RequestOptions options) throws StripeException Expire a test-mode Authorization.- Throws:
StripeException
-
finalizeAmount
public Authorization finalizeAmount(String authorization, AuthorizationFinalizeAmountParams params) throws StripeException Finalize the amount on an Authorization prior to capture, when the initial authorization was for an estimated amount.- Throws:
StripeException
-
finalizeAmount
public Authorization finalizeAmount(String authorization, AuthorizationFinalizeAmountParams params, RequestOptions options) throws StripeException Finalize the amount on an Authorization prior to capture, when the initial authorization was for an estimated amount.- Throws:
StripeException
-
increment
public Authorization increment(String authorization, AuthorizationIncrementParams params) throws StripeException Increment a test-mode Authorization.- Throws:
StripeException
-
increment
public Authorization increment(String authorization, AuthorizationIncrementParams params, RequestOptions options) throws StripeException Increment a test-mode Authorization.- Throws:
StripeException
-
reverse
public Authorization reverse(String authorization, AuthorizationReverseParams params) throws StripeException Reverse a test-mode Authorization.- Throws:
StripeException
-
reverse
Reverse a test-mode Authorization.- Throws:
StripeException
-
reverse
Reverse a test-mode Authorization.- Throws:
StripeException
-
reverse
public Authorization reverse(String authorization, AuthorizationReverseParams params, RequestOptions options) throws StripeException Reverse a test-mode Authorization.- Throws:
StripeException
-