Class TransferReversalService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionWhen you create a new reversal, you must specify a transfer to create it on.create
(String id, RequestOptions options) When you create a new reversal, you must specify a transfer to create it on.create
(String id, TransferReversalCreateParams params) When you create a new reversal, you must specify a transfer to create it on.create
(String id, TransferReversalCreateParams params, RequestOptions options) When you create a new reversal, you must specify a transfer to create it on.You can see a list of the reversals belonging to a specific transfer.list
(String id, RequestOptions options) You can see a list of the reversals belonging to a specific transfer.list
(String id, TransferReversalListParams params) You can see a list of the reversals belonging to a specific transfer.list
(String id, TransferReversalListParams params, RequestOptions options) You can see a list of the reversals belonging to a specific transfer.By default, you can see the 10 most recent reversals stored directly on the transfer object, but you can also retrieve details about a specific reversal stored on the transfer.retrieve
(String transfer, String id, RequestOptions options) By default, you can see the 10 most recent reversals stored directly on the transfer object, but you can also retrieve details about a specific reversal stored on the transfer.retrieve
(String transfer, String id, TransferReversalRetrieveParams params) By default, you can see the 10 most recent reversals stored directly on the transfer object, but you can also retrieve details about a specific reversal stored on the transfer.retrieve
(String transfer, String id, TransferReversalRetrieveParams params, RequestOptions options) By default, you can see the 10 most recent reversals stored directly on the transfer object, but you can also retrieve details about a specific reversal stored on the transfer.Updates the specified reversal by setting the values of the parameters passed.update
(String transfer, String id, RequestOptions options) Updates the specified reversal by setting the values of the parameters passed.update
(String transfer, String id, TransferReversalUpdateParams params) Updates the specified reversal by setting the values of the parameters passed.update
(String transfer, String id, TransferReversalUpdateParams params, RequestOptions options) Updates the specified reversal by setting the values of the parameters passed.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
TransferReversalService
-
-
Method Details
-
list
public StripeCollection<TransferReversal> list(String id, TransferReversalListParams params) throws StripeException You can see a list of the reversals belonging to a specific transfer. Note that the 10 most recent reversals are always available by default on the transfer object. If you need more than those 10, you can use this API method and thelimit
andstarting_after
parameters to page through additional reversals.- Throws:
StripeException
-
list
public StripeCollection<TransferReversal> list(String id, RequestOptions options) throws StripeException You can see a list of the reversals belonging to a specific transfer. Note that the 10 most recent reversals are always available by default on the transfer object. If you need more than those 10, you can use this API method and thelimit
andstarting_after
parameters to page through additional reversals.- Throws:
StripeException
-
list
You can see a list of the reversals belonging to a specific transfer. Note that the 10 most recent reversals are always available by default on the transfer object. If you need more than those 10, you can use this API method and thelimit
andstarting_after
parameters to page through additional reversals.- Throws:
StripeException
-
list
public StripeCollection<TransferReversal> list(String id, TransferReversalListParams params, RequestOptions options) throws StripeException You can see a list of the reversals belonging to a specific transfer. Note that the 10 most recent reversals are always available by default on the transfer object. If you need more than those 10, you can use this API method and thelimit
andstarting_after
parameters to page through additional reversals.- Throws:
StripeException
-
create
public TransferReversal create(String id, TransferReversalCreateParams params) throws StripeException When you create a new reversal, you must specify a transfer to create it on.When reversing transfers, you can optionally reverse part of the transfer. You can do so as many times as you wish until the entire transfer has been reversed.
Once entirely reversed, a transfer can’t be reversed again. This method will return an error when called on an already-reversed transfer, or when trying to reverse more money than is left on a transfer.
- Throws:
StripeException
-
create
When you create a new reversal, you must specify a transfer to create it on.When reversing transfers, you can optionally reverse part of the transfer. You can do so as many times as you wish until the entire transfer has been reversed.
Once entirely reversed, a transfer can’t be reversed again. This method will return an error when called on an already-reversed transfer, or when trying to reverse more money than is left on a transfer.
- Throws:
StripeException
-
create
When you create a new reversal, you must specify a transfer to create it on.When reversing transfers, you can optionally reverse part of the transfer. You can do so as many times as you wish until the entire transfer has been reversed.
Once entirely reversed, a transfer can’t be reversed again. This method will return an error when called on an already-reversed transfer, or when trying to reverse more money than is left on a transfer.
- Throws:
StripeException
-
create
public TransferReversal create(String id, TransferReversalCreateParams params, RequestOptions options) throws StripeException When you create a new reversal, you must specify a transfer to create it on.When reversing transfers, you can optionally reverse part of the transfer. You can do so as many times as you wish until the entire transfer has been reversed.
Once entirely reversed, a transfer can’t be reversed again. This method will return an error when called on an already-reversed transfer, or when trying to reverse more money than is left on a transfer.
- Throws:
StripeException
-
retrieve
public TransferReversal retrieve(String transfer, String id, TransferReversalRetrieveParams params) throws StripeException By default, you can see the 10 most recent reversals stored directly on the transfer object, but you can also retrieve details about a specific reversal stored on the transfer.- Throws:
StripeException
-
retrieve
public TransferReversal retrieve(String transfer, String id, RequestOptions options) throws StripeException By default, you can see the 10 most recent reversals stored directly on the transfer object, but you can also retrieve details about a specific reversal stored on the transfer.- Throws:
StripeException
-
retrieve
By default, you can see the 10 most recent reversals stored directly on the transfer object, but you can also retrieve details about a specific reversal stored on the transfer.- Throws:
StripeException
-
retrieve
public TransferReversal retrieve(String transfer, String id, TransferReversalRetrieveParams params, RequestOptions options) throws StripeException By default, you can see the 10 most recent reversals stored directly on the transfer object, but you can also retrieve details about a specific reversal stored on the transfer.- Throws:
StripeException
-
update
public TransferReversal update(String transfer, String id, TransferReversalUpdateParams params) throws StripeException Updates the specified reversal by setting the values of the parameters passed. Any parameters not provided will be left unchanged.This request only accepts metadata and description as arguments.
- Throws:
StripeException
-
update
public TransferReversal update(String transfer, String id, RequestOptions options) throws StripeException Updates the specified reversal by setting the values of the parameters passed. Any parameters not provided will be left unchanged.This request only accepts metadata and description as arguments.
- Throws:
StripeException
-
update
Updates the specified reversal by setting the values of the parameters passed. Any parameters not provided will be left unchanged.This request only accepts metadata and description as arguments.
- Throws:
StripeException
-
update
public TransferReversal update(String transfer, String id, TransferReversalUpdateParams params, RequestOptions options) throws StripeException Updates the specified reversal by setting the values of the parameters passed. Any parameters not provided will be left unchanged.This request only accepts metadata and description as arguments.
- Throws:
StripeException
-