Package com.stripe.model.issuing
Class Authorization.TestHelpers
java.lang.Object
com.stripe.model.issuing.Authorization.TestHelpers
- Enclosing class:
- Authorization
-
Method Summary
Modifier and TypeMethodDescriptioncapture()
Capture a test-mode authorization.capture
(RequestOptions options) Capture a test-mode authorization.capture
(AuthorizationCaptureParams params) Capture a test-mode authorization.capture
(AuthorizationCaptureParams params, RequestOptions options) Capture a test-mode authorization.Capture a test-mode authorization.capture
(Map<String, Object> params, RequestOptions options) Capture a test-mode authorization.static Authorization
create
(AuthorizationCreateParams params) Create a test-mode authorization.static Authorization
create
(AuthorizationCreateParams params, RequestOptions options) Create a test-mode authorization.static Authorization
Create a test-mode authorization.static Authorization
create
(Map<String, Object> params, RequestOptions options) Create a test-mode authorization.expire()
Expire a test-mode Authorization.expire
(RequestOptions options) Expire a test-mode Authorization.expire
(AuthorizationExpireParams params) Expire a test-mode Authorization.expire
(AuthorizationExpireParams params, RequestOptions options) Expire a test-mode Authorization.Expire a test-mode Authorization.expire
(Map<String, Object> params, RequestOptions options) Expire a test-mode Authorization.Finalize the amount on an Authorization prior to capture, when the initial authorization was for an estimated amount.finalizeAmount
(AuthorizationFinalizeAmountParams params, RequestOptions options) Finalize the amount on an Authorization prior to capture, when the initial authorization was for an estimated amount.finalizeAmount
(Map<String, Object> params) Finalize the amount on an Authorization prior to capture, when the initial authorization was for an estimated amount.finalizeAmount
(Map<String, Object> params, RequestOptions options) Finalize the amount on an Authorization prior to capture, when the initial authorization was for an estimated amount.Increment a test-mode Authorization.increment
(AuthorizationIncrementParams params, RequestOptions options) Increment a test-mode Authorization.Increment a test-mode Authorization.increment
(Map<String, Object> params, RequestOptions options) Increment a test-mode Authorization.reverse()
Reverse a test-mode Authorization.reverse
(RequestOptions options) Reverse a test-mode Authorization.reverse
(AuthorizationReverseParams params) Reverse a test-mode Authorization.reverse
(AuthorizationReverseParams params, RequestOptions options) Reverse a test-mode Authorization.Reverse a test-mode Authorization.reverse
(Map<String, Object> params, RequestOptions options) Reverse a test-mode Authorization.
-
Method Details
-
create
Create a test-mode authorization.- Throws:
StripeException
-
create
public static Authorization create(Map<String, Object> params, RequestOptions options) throws StripeExceptionCreate a test-mode authorization.- Throws:
StripeException
-
create
Create a test-mode authorization.- Throws:
StripeException
-
create
public static Authorization create(AuthorizationCreateParams params, RequestOptions options) throws StripeException Create a test-mode authorization.- Throws:
StripeException
-
capture
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(Map<String, Object> params, RequestOptions options) throws StripeExceptionCapture a test-mode authorization.- Throws:
StripeException
-
capture
Capture a test-mode authorization.- Throws:
StripeException
-
capture
public Authorization capture(AuthorizationCaptureParams params, RequestOptions options) throws StripeException Capture a test-mode authorization.- Throws:
StripeException
-
expire
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(Map<String, Object> params, RequestOptions options) throws StripeExceptionExpire a test-mode Authorization.- Throws:
StripeException
-
expire
Expire a test-mode Authorization.- Throws:
StripeException
-
expire
public Authorization expire(AuthorizationExpireParams params, RequestOptions options) throws StripeException Expire a test-mode Authorization.- Throws:
StripeException
-
finalizeAmount
Finalize the amount on an Authorization prior to capture, when the initial authorization was for an estimated amount.- Throws:
StripeException
-
finalizeAmount
public Authorization finalizeAmount(Map<String, Object> params, RequestOptions options) throws StripeExceptionFinalize the amount on an Authorization prior to capture, when the initial authorization was for an estimated amount.- Throws:
StripeException
-
finalizeAmount
public Authorization finalizeAmount(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(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
Increment a test-mode Authorization.- Throws:
StripeException
-
increment
public Authorization increment(Map<String, Object> params, RequestOptions options) throws StripeExceptionIncrement a test-mode Authorization.- Throws:
StripeException
-
increment
Increment a test-mode Authorization.- Throws:
StripeException
-
increment
public Authorization increment(AuthorizationIncrementParams params, RequestOptions options) throws StripeException Increment a test-mode Authorization.- Throws:
StripeException
-
reverse
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(Map<String, Object> params, RequestOptions options) throws StripeExceptionReverse a test-mode Authorization.- Throws:
StripeException
-
reverse
Reverse a test-mode Authorization.- Throws:
StripeException
-
reverse
public Authorization reverse(AuthorizationReverseParams params, RequestOptions options) throws StripeException Reverse a test-mode Authorization.- Throws:
StripeException
-