Class TransactionService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.testhelpers.issuing.TransactionService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAllows the user to capture an arbitrary amount, also known as a forced capture.createForceCapture
(TransactionCreateForceCaptureParams params, RequestOptions options) Allows the user to capture an arbitrary amount, also known as a forced capture.Allows the user to refund an arbitrary amount, also known as a unlinked refund.createUnlinkedRefund
(TransactionCreateUnlinkedRefundParams params, RequestOptions options) Allows the user to refund an arbitrary amount, also known as a unlinked refund.Refund a test-mode Transaction.refund
(String transaction, RequestOptions options) Refund a test-mode Transaction.refund
(String transaction, TransactionRefundParams params) Refund a test-mode Transaction.refund
(String transaction, TransactionRefundParams params, RequestOptions options) Refund a test-mode Transaction.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
TransactionService
-
-
Method Details
-
refund
public Transaction refund(String transaction, TransactionRefundParams params) throws StripeException 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(String transaction, TransactionRefundParams params, RequestOptions options) throws StripeException Refund a test-mode Transaction.- Throws:
StripeException
-
createForceCapture
public Transaction createForceCapture(TransactionCreateForceCaptureParams params) throws StripeException Allows the user to capture an arbitrary amount, also known as a forced capture.- Throws:
StripeException
-
createForceCapture
public 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
public Transaction createUnlinkedRefund(TransactionCreateUnlinkedRefundParams params) throws StripeException Allows the user to refund an arbitrary amount, also known as a unlinked refund.- Throws:
StripeException
-
createUnlinkedRefund
public Transaction createUnlinkedRefund(TransactionCreateUnlinkedRefundParams params, RequestOptions options) throws StripeException Allows the user to refund an arbitrary amount, also known as a unlinked refund.- Throws:
StripeException
-