Package com.stripe.service.treasury
Class CreditReversalService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.treasury.CreditReversalService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(CreditReversalCreateParams params) Reverses a ReceivedCredit and creates a CreditReversal object.create
(CreditReversalCreateParams params, RequestOptions options) Reverses a ReceivedCredit and creates a CreditReversal object.list
(CreditReversalListParams params) Returns a list of CreditReversals.list
(CreditReversalListParams params, RequestOptions options) Returns a list of CreditReversals.Retrieves the details of an existing CreditReversal by passing the unique CreditReversal ID from either the CreditReversal creation request or CreditReversal list.retrieve
(String creditReversal, RequestOptions options) Retrieves the details of an existing CreditReversal by passing the unique CreditReversal ID from either the CreditReversal creation request or CreditReversal list.retrieve
(String creditReversal, CreditReversalRetrieveParams params) Retrieves the details of an existing CreditReversal by passing the unique CreditReversal ID from either the CreditReversal creation request or CreditReversal list.retrieve
(String creditReversal, CreditReversalRetrieveParams params, RequestOptions options) Retrieves the details of an existing CreditReversal by passing the unique CreditReversal ID from either the CreditReversal creation request or CreditReversal list.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
CreditReversalService
-
-
Method Details
-
list
public StripeCollection<CreditReversal> list(CreditReversalListParams params) throws StripeException Returns a list of CreditReversals.- Throws:
StripeException
-
list
public StripeCollection<CreditReversal> list(CreditReversalListParams params, RequestOptions options) throws StripeException Returns a list of CreditReversals.- Throws:
StripeException
-
create
Reverses a ReceivedCredit and creates a CreditReversal object.- Throws:
StripeException
-
create
public CreditReversal create(CreditReversalCreateParams params, RequestOptions options) throws StripeException Reverses a ReceivedCredit and creates a CreditReversal object.- Throws:
StripeException
-
retrieve
public CreditReversal retrieve(String creditReversal, CreditReversalRetrieveParams params) throws StripeException Retrieves the details of an existing CreditReversal by passing the unique CreditReversal ID from either the CreditReversal creation request or CreditReversal list.- Throws:
StripeException
-
retrieve
public CreditReversal retrieve(String creditReversal, RequestOptions options) throws StripeException Retrieves the details of an existing CreditReversal by passing the unique CreditReversal ID from either the CreditReversal creation request or CreditReversal list.- Throws:
StripeException
-
retrieve
Retrieves the details of an existing CreditReversal by passing the unique CreditReversal ID from either the CreditReversal creation request or CreditReversal list.- Throws:
StripeException
-
retrieve
public CreditReversal retrieve(String creditReversal, CreditReversalRetrieveParams params, RequestOptions options) throws StripeException Retrieves the details of an existing CreditReversal by passing the unique CreditReversal ID from either the CreditReversal creation request or CreditReversal list.- Throws:
StripeException
-