Package com.stripe.model.issuing
Class Transaction.TestHelpers
java.lang.Object
com.stripe.model.issuing.Transaction.TestHelpers
- Enclosing class:
- Transaction
-
Method Summary
Modifier and TypeMethodDescriptionstatic TransactionAllows the user to capture an arbitrary amount, also known as a forced capture.static TransactioncreateForceCapture(TransactionCreateForceCaptureParams params, RequestOptions options) Allows the user to capture an arbitrary amount, also known as a forced capture.static TransactioncreateForceCapture(Map<String, Object> params) Allows the user to capture an arbitrary amount, also known as a forced capture.static TransactioncreateForceCapture(Map<String, Object> params, RequestOptions options) Allows the user to capture an arbitrary amount, also known as a forced capture.static TransactionAllows the user to refund an arbitrary amount, also known as a unlinked refund.static TransactioncreateUnlinkedRefund(TransactionCreateUnlinkedRefundParams params, RequestOptions options) Allows the user to refund an arbitrary amount, also known as a unlinked refund.static TransactioncreateUnlinkedRefund(Map<String, Object> params) Allows the user to refund an arbitrary amount, also known as a unlinked refund.static TransactioncreateUnlinkedRefund(Map<String, Object> params, RequestOptions options) Allows the user to refund an arbitrary amount, also known as a unlinked refund.refund()Refund a test-mode Transaction.refund(RequestOptions options) Refund a test-mode Transaction.refund(TransactionRefundParams params) Refund a test-mode Transaction.refund(TransactionRefundParams params, RequestOptions options) Refund a test-mode Transaction.Refund a test-mode Transaction.refund(Map<String, Object> params, RequestOptions options) Refund a test-mode Transaction.
-
Method Details
-
refund
Refund a test-mode Transaction.- Throws:
StripeException
-
refund
Refund a test-mode Transaction.- Throws:
StripeException
-
refund
Refund a test-mode Transaction.- Throws:
StripeException
-
refund
Refund a test-mode Transaction.- Throws:
StripeException
-
refund
Refund a test-mode Transaction.- Throws:
StripeException
-
refund
public Transaction refund(TransactionRefundParams params, RequestOptions options) throws StripeException Refund a test-mode Transaction.- Throws:
StripeException
-
createForceCapture
Allows the user to capture an arbitrary amount, also known as a forced capture.- Throws:
StripeException
-
createForceCapture
public static Transaction createForceCapture(Map<String, Object> params, RequestOptions options) throws StripeExceptionAllows the user to capture an arbitrary amount, also known as a forced capture.- Throws:
StripeException
-
createForceCapture
public static Transaction createForceCapture(TransactionCreateForceCaptureParams params) throws StripeException Allows the user to capture an arbitrary amount, also known as a forced capture.- Throws:
StripeException
-
createForceCapture
public static Transaction createForceCapture(TransactionCreateForceCaptureParams params, RequestOptions options) throws StripeException Allows the user to capture an arbitrary amount, also known as a forced capture.- Throws:
StripeException
-
createUnlinkedRefund
Allows the user to refund an arbitrary amount, also known as a unlinked refund.- Throws:
StripeException
-
createUnlinkedRefund
public static Transaction createUnlinkedRefund(Map<String, Object> params, RequestOptions options) throws StripeExceptionAllows the user to refund an arbitrary amount, also known as a unlinked refund.- Throws:
StripeException
-
createUnlinkedRefund
public static Transaction createUnlinkedRefund(TransactionCreateUnlinkedRefundParams params) throws StripeException Allows the user to refund an arbitrary amount, also known as a unlinked refund.- Throws:
StripeException
-
createUnlinkedRefund
public static Transaction createUnlinkedRefund(TransactionCreateUnlinkedRefundParams params, RequestOptions options) throws StripeException Allows the user to refund an arbitrary amount, also known as a unlinked refund.- Throws:
StripeException
-