Package com.stripe.service
Class ProductFeatureService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.ProductFeatureService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(String product, ProductFeatureCreateParams params) Creates a product_feature, which represents a feature attachment to a product.create
(String product, ProductFeatureCreateParams params, RequestOptions options) Creates a product_feature, which represents a feature attachment to a product.Deletes the feature attachment to a product.delete
(String product, String id, RequestOptions options) Deletes the feature attachment to a product.Retrieve a list of features for a product.list
(String product, RequestOptions options) Retrieve a list of features for a product.list
(String product, ProductFeatureListParams params) Retrieve a list of features for a product.list
(String product, ProductFeatureListParams params, RequestOptions options) Retrieve a list of features for a product.Retrieves a product_feature, which represents a feature attachment to a product.retrieve
(String product, String id, RequestOptions options) Retrieves a product_feature, which represents a feature attachment to a product.retrieve
(String product, String id, ProductFeatureRetrieveParams params) Retrieves a product_feature, which represents a feature attachment to a product.retrieve
(String product, String id, ProductFeatureRetrieveParams params, RequestOptions options) Retrieves a product_feature, which represents a feature attachment to a product.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
ProductFeatureService
-
-
Method Details
-
delete
Deletes the feature attachment to a product.- Throws:
StripeException
-
delete
public ProductFeature delete(String product, String id, RequestOptions options) throws StripeException Deletes the feature attachment to a product.- Throws:
StripeException
-
retrieve
public ProductFeature retrieve(String product, String id, ProductFeatureRetrieveParams params) throws StripeException Retrieves a product_feature, which represents a feature attachment to a product.- Throws:
StripeException
-
retrieve
public ProductFeature retrieve(String product, String id, RequestOptions options) throws StripeException Retrieves a product_feature, which represents a feature attachment to a product.- Throws:
StripeException
-
retrieve
Retrieves a product_feature, which represents a feature attachment to a product.- Throws:
StripeException
-
retrieve
public ProductFeature retrieve(String product, String id, ProductFeatureRetrieveParams params, RequestOptions options) throws StripeException Retrieves a product_feature, which represents a feature attachment to a product.- Throws:
StripeException
-
list
public StripeCollection<ProductFeature> list(String product, ProductFeatureListParams params) throws StripeException Retrieve a list of features for a product.- Throws:
StripeException
-
list
public StripeCollection<ProductFeature> list(String product, RequestOptions options) throws StripeException Retrieve a list of features for a product.- Throws:
StripeException
-
list
Retrieve a list of features for a product.- Throws:
StripeException
-
list
public StripeCollection<ProductFeature> list(String product, ProductFeatureListParams params, RequestOptions options) throws StripeException Retrieve a list of features for a product.- Throws:
StripeException
-
create
public ProductFeature create(String product, ProductFeatureCreateParams params) throws StripeException Creates a product_feature, which represents a feature attachment to a product.- Throws:
StripeException
-
create
public ProductFeature create(String product, ProductFeatureCreateParams params, RequestOptions options) throws StripeException Creates a product_feature, which represents a feature attachment to a product.- Throws:
StripeException
-