Package com.stripe.service.entitlements
Class FeatureService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.entitlements.FeatureService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(FeatureCreateParams params) Creates a feature.create
(FeatureCreateParams params, RequestOptions options) Creates a feature.list()
Retrieve a list of features.list
(RequestOptions options) Retrieve a list of features.list
(FeatureListParams params) Retrieve a list of features.list
(FeatureListParams params, RequestOptions options) Retrieve a list of features.Retrieves a feature.retrieve
(String id, RequestOptions options) Retrieves a feature.retrieve
(String id, FeatureRetrieveParams params) Retrieves a feature.retrieve
(String id, FeatureRetrieveParams params, RequestOptions options) Retrieves a feature.Update a feature’s metadata or permanently deactivate it.update
(String id, RequestOptions options) Update a feature’s metadata or permanently deactivate it.update
(String id, FeatureUpdateParams params) Update a feature’s metadata or permanently deactivate it.update
(String id, FeatureUpdateParams params, RequestOptions options) Update a feature’s metadata or permanently deactivate it.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
FeatureService
-
-
Method Details
-
list
Retrieve a list of features.- Throws:
StripeException
-
list
Retrieve a list of features.- Throws:
StripeException
-
list
Retrieve a list of features.- Throws:
StripeException
-
list
public StripeCollection<Feature> list(FeatureListParams params, RequestOptions options) throws StripeException Retrieve a list of features.- Throws:
StripeException
-
create
Creates a feature.- Throws:
StripeException
-
create
Creates a feature.- Throws:
StripeException
-
retrieve
Retrieves a feature.- Throws:
StripeException
-
retrieve
Retrieves a feature.- Throws:
StripeException
-
retrieve
Retrieves a feature.- Throws:
StripeException
-
retrieve
public Feature retrieve(String id, FeatureRetrieveParams params, RequestOptions options) throws StripeException Retrieves a feature.- Throws:
StripeException
-
update
Update a feature’s metadata or permanently deactivate it.- Throws:
StripeException
-
update
Update a feature’s metadata or permanently deactivate it.- Throws:
StripeException
-
update
Update a feature’s metadata or permanently deactivate it.- Throws:
StripeException
-
update
public Feature update(String id, FeatureUpdateParams params, RequestOptions options) throws StripeException Update a feature’s metadata or permanently deactivate it.- Throws:
StripeException
-