Class ComponentService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.v2.billing.pricingplans.ComponentService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate
(String pricingPlanId, ComponentCreateParams params) Create a Pricing Plan Component object.create
(String pricingPlanId, ComponentCreateParams params, RequestOptions options) Create a Pricing Plan Component object.Remove a Pricing Plan Component from the latest version of a Pricing Plan.delete
(String pricingPlanId, String id, RequestOptions options) Remove a Pricing Plan Component from the latest version of a Pricing Plan.List all Pricing Plan Component objects for a Pricing Plan.list
(String pricingPlanId, RequestOptions options) List all Pricing Plan Component objects for a Pricing Plan.list
(String pricingPlanId, ComponentListParams params) List all Pricing Plan Component objects for a Pricing Plan.list
(String pricingPlanId, ComponentListParams params, RequestOptions options) List all Pricing Plan Component objects for a Pricing Plan.Retrieve a Pricing Plan Component object.retrieve
(String pricingPlanId, String id, RequestOptions options) Retrieve a Pricing Plan Component object.Update a Pricing Plan Component object.update
(String pricingPlanId, String id, RequestOptions options) Update a Pricing Plan Component object.update
(String pricingPlanId, String id, ComponentUpdateParams params) Update a Pricing Plan Component object.update
(String pricingPlanId, String id, ComponentUpdateParams params, RequestOptions options) Update a Pricing Plan Component object.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
ComponentService
-
-
Method Details
-
list
public StripeCollection<PricingPlanComponent> list(String pricingPlanId, ComponentListParams params) throws StripeException List all Pricing Plan Component objects for a Pricing Plan.- Throws:
StripeException
-
list
public StripeCollection<PricingPlanComponent> list(String pricingPlanId, RequestOptions options) throws StripeException List all Pricing Plan Component objects for a Pricing Plan.- Throws:
StripeException
-
list
List all Pricing Plan Component objects for a Pricing Plan.- Throws:
StripeException
-
list
public StripeCollection<PricingPlanComponent> list(String pricingPlanId, ComponentListParams params, RequestOptions options) throws StripeException List all Pricing Plan Component objects for a Pricing Plan.- Throws:
StripeException
-
create
public PricingPlanComponent create(String pricingPlanId, ComponentCreateParams params) throws StripeException Create a Pricing Plan Component object.- Throws:
StripeException
-
create
public PricingPlanComponent create(String pricingPlanId, ComponentCreateParams params, RequestOptions options) throws StripeException Create a Pricing Plan Component object.- Throws:
StripeException
-
delete
Remove a Pricing Plan Component from the latest version of a Pricing Plan.- Throws:
StripeException
-
delete
public PricingPlanComponent delete(String pricingPlanId, String id, RequestOptions options) throws StripeException Remove a Pricing Plan Component from the latest version of a Pricing Plan.- Throws:
StripeException
-
retrieve
Retrieve a Pricing Plan Component object.- Throws:
StripeException
-
retrieve
public PricingPlanComponent retrieve(String pricingPlanId, String id, RequestOptions options) throws StripeException Retrieve a Pricing Plan Component object.- Throws:
StripeException
-
update
public PricingPlanComponent update(String pricingPlanId, String id, ComponentUpdateParams params) throws StripeException Update a Pricing Plan Component object.- Throws:
StripeException
-
update
public PricingPlanComponent update(String pricingPlanId, String id, RequestOptions options) throws StripeException Update a Pricing Plan Component object.- Throws:
StripeException
-
update
Update a Pricing Plan Component object.- Throws:
StripeException
-
update
public PricingPlanComponent update(String pricingPlanId, String id, ComponentUpdateParams params, RequestOptions options) throws StripeException Update a Pricing Plan Component object.- Throws:
StripeException
-