Package com.stripe.service.treasury
Class DebitReversalService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.treasury.DebitReversalService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(DebitReversalCreateParams params) Reverses a ReceivedDebit and creates a DebitReversal object.create
(DebitReversalCreateParams params, RequestOptions options) Reverses a ReceivedDebit and creates a DebitReversal object.list
(DebitReversalListParams params) Returns a list of DebitReversals.list
(DebitReversalListParams params, RequestOptions options) Returns a list of DebitReversals.Retrieves a DebitReversal object.retrieve
(String debitReversal, RequestOptions options) Retrieves a DebitReversal object.retrieve
(String debitReversal, DebitReversalRetrieveParams params) Retrieves a DebitReversal object.retrieve
(String debitReversal, DebitReversalRetrieveParams params, RequestOptions options) Retrieves a DebitReversal object.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
DebitReversalService
-
-
Method Details
-
list
Returns a list of DebitReversals.- Throws:
StripeException
-
list
public StripeCollection<DebitReversal> list(DebitReversalListParams params, RequestOptions options) throws StripeException Returns a list of DebitReversals.- Throws:
StripeException
-
create
Reverses a ReceivedDebit and creates a DebitReversal object.- Throws:
StripeException
-
create
public DebitReversal create(DebitReversalCreateParams params, RequestOptions options) throws StripeException Reverses a ReceivedDebit and creates a DebitReversal object.- Throws:
StripeException
-
retrieve
public DebitReversal retrieve(String debitReversal, DebitReversalRetrieveParams params) throws StripeException Retrieves a DebitReversal object.- Throws:
StripeException
-
retrieve
Retrieves a DebitReversal object.- Throws:
StripeException
-
retrieve
Retrieves a DebitReversal object.- Throws:
StripeException
-
retrieve
public DebitReversal retrieve(String debitReversal, DebitReversalRetrieveParams params, RequestOptions options) throws StripeException Retrieves a DebitReversal object.- Throws:
StripeException
-