Class TransferReversalCollection
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- com.stripe.model.StripeCollection<TransferReversal>
-
- com.stripe.model.TransferReversalCollection
-
- All Implemented Interfaces:
StripeCollectionInterface<TransferReversal>
,StripeObjectInterface
public class TransferReversalCollection extends StripeCollection<TransferReversal>
-
-
Field Summary
-
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
-
Constructor Summary
Constructors Constructor Description TransferReversalCollection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TransferReversal
create(TransferReversalCollectionCreateParams params)
When you create a new reversal, you must specify a transfer to create it on.TransferReversal
create(TransferReversalCollectionCreateParams params, RequestOptions options)
When you create a new reversal, you must specify a transfer to create it on.TransferReversal
create(java.util.Map<java.lang.String,java.lang.Object> params)
When you create a new reversal, you must specify a transfer to create it on.TransferReversal
create(java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options)
When you create a new reversal, you must specify a transfer to create it on.TransferReversalCollection
list(TransferReversalCollectionListParams params)
You can see a list of the reversals belonging to a specific transfer.TransferReversalCollection
list(TransferReversalCollectionListParams params, RequestOptions options)
You can see a list of the reversals belonging to a specific transfer.TransferReversalCollection
list(java.util.Map<java.lang.String,java.lang.Object> params)
You can see a list of the reversals belonging to a specific transfer.TransferReversalCollection
list(java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options)
You can see a list of the reversals belonging to a specific transfer.TransferReversal
retrieve(java.lang.String id)
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.TransferReversal
retrieve(java.lang.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.TransferReversal
retrieve(java.lang.String id, TransferReversalCollectionRetrieveParams 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.TransferReversal
retrieve(java.lang.String id, java.util.Map<java.lang.String,java.lang.Object> 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.-
Methods inherited from class com.stripe.model.StripeCollection
autoPagingIterable, autoPagingIterable, autoPagingIterable, canEqual, equals, getData, getHasMore, getObject, getRequestOptions, getRequestParams, getUrl, hashCode, setData, setHasMore, setObject, setRequestOptions, setRequestParams, setUrl
-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.stripe.model.StripeObjectInterface
getLastResponse, setLastResponse
-
-
-
-
Method Detail
-
create
public TransferReversal create(java.util.Map<java.lang.String,java.lang.Object> 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
public TransferReversal create(java.util.Map<java.lang.String,java.lang.Object> 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
-
create
public TransferReversal create(TransferReversalCollectionCreateParams 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
public TransferReversal create(TransferReversalCollectionCreateParams 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
-
list
public TransferReversalCollection list(java.util.Map<java.lang.String,java.lang.Object> 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 TransferReversalCollection list(java.util.Map<java.lang.String,java.lang.Object> 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
-
list
public TransferReversalCollection list(TransferReversalCollectionListParams 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 TransferReversalCollection list(TransferReversalCollectionListParams 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
-
retrieve
public TransferReversal retrieve(java.lang.String id) 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(java.lang.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
public TransferReversal retrieve(java.lang.String id, java.util.Map<java.lang.String,java.lang.Object> 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
-
retrieve
public TransferReversal retrieve(java.lang.String id, TransferReversalCollectionRetrieveParams 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
-
-