Package com.stripe.service
Class AccountCapabilityService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.AccountCapabilityService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns a list of capabilities associated with the account.list
(String account, RequestOptions options) Returns a list of capabilities associated with the account.list
(String account, AccountCapabilityListParams params) Returns a list of capabilities associated with the account.list
(String account, AccountCapabilityListParams params, RequestOptions options) Returns a list of capabilities associated with the account.Retrieves information about the specified Account Capability.retrieve
(String account, String capability, RequestOptions options) Retrieves information about the specified Account Capability.retrieve
(String account, String capability, AccountCapabilityRetrieveParams params) Retrieves information about the specified Account Capability.retrieve
(String account, String capability, AccountCapabilityRetrieveParams params, RequestOptions options) Retrieves information about the specified Account Capability.Updates an existing Account Capability.update
(String account, String capability, RequestOptions options) Updates an existing Account Capability.update
(String account, String capability, AccountCapabilityUpdateParams params) Updates an existing Account Capability.update
(String account, String capability, AccountCapabilityUpdateParams params, RequestOptions options) Updates an existing Account Capability.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
AccountCapabilityService
-
-
Method Details
-
list
public StripeCollection<Capability> list(String account, AccountCapabilityListParams params) throws StripeException Returns a list of capabilities associated with the account. The capabilities are returned sorted by creation date, with the most recent capability appearing first.- Throws:
StripeException
-
list
public StripeCollection<Capability> list(String account, RequestOptions options) throws StripeException Returns a list of capabilities associated with the account. The capabilities are returned sorted by creation date, with the most recent capability appearing first.- Throws:
StripeException
-
list
Returns a list of capabilities associated with the account. The capabilities are returned sorted by creation date, with the most recent capability appearing first.- Throws:
StripeException
-
list
public StripeCollection<Capability> list(String account, AccountCapabilityListParams params, RequestOptions options) throws StripeException Returns a list of capabilities associated with the account. The capabilities are returned sorted by creation date, with the most recent capability appearing first.- Throws:
StripeException
-
retrieve
public Capability retrieve(String account, String capability, AccountCapabilityRetrieveParams params) throws StripeException Retrieves information about the specified Account Capability.- Throws:
StripeException
-
retrieve
public Capability retrieve(String account, String capability, RequestOptions options) throws StripeException Retrieves information about the specified Account Capability.- Throws:
StripeException
-
retrieve
Retrieves information about the specified Account Capability.- Throws:
StripeException
-
retrieve
public Capability retrieve(String account, String capability, AccountCapabilityRetrieveParams params, RequestOptions options) throws StripeException Retrieves information about the specified Account Capability.- Throws:
StripeException
-
update
public Capability update(String account, String capability, AccountCapabilityUpdateParams params) throws StripeException Updates an existing Account Capability. Request or remove a capability by updating itsrequested
parameter.- Throws:
StripeException
-
update
public Capability update(String account, String capability, RequestOptions options) throws StripeException Updates an existing Account Capability. Request or remove a capability by updating itsrequested
parameter.- Throws:
StripeException
-
update
Updates an existing Account Capability. Request or remove a capability by updating itsrequested
parameter.- Throws:
StripeException
-
update
public Capability update(String account, String capability, AccountCapabilityUpdateParams params, RequestOptions options) throws StripeException Updates an existing Account Capability. Request or remove a capability by updating itsrequested
parameter.- Throws:
StripeException
-