Package com.stripe.service.v2.billing
Class CustomPricingUnitService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.v2.billing.CustomPricingUnitService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate
(CustomPricingUnitCreateParams params) Create a Custom Pricing Unit object.create
(CustomPricingUnitCreateParams params, RequestOptions options) Create a Custom Pricing Unit object.list()
List all Custom Pricing Unit objects.list
(RequestOptions options) List all Custom Pricing Unit objects.list
(CustomPricingUnitListParams params) List all Custom Pricing Unit objects.list
(CustomPricingUnitListParams params, RequestOptions options) List all Custom Pricing Unit objects.Retrieve a Custom Pricing Unit object.retrieve
(String id, RequestOptions options) Retrieve a Custom Pricing Unit object.Update a Custom Pricing Unit object.update
(String id, RequestOptions options) Update a Custom Pricing Unit object.update
(String id, CustomPricingUnitUpdateParams params) Update a Custom Pricing Unit object.update
(String id, CustomPricingUnitUpdateParams params, RequestOptions options) Update a Custom Pricing Unit object.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
CustomPricingUnitService
-
-
Method Details
-
list
public StripeCollection<CustomPricingUnit> list(CustomPricingUnitListParams params) throws StripeException List all Custom Pricing Unit objects.- Throws:
StripeException
-
list
List all Custom Pricing Unit objects.- Throws:
StripeException
-
list
List all Custom Pricing Unit objects.- Throws:
StripeException
-
list
public StripeCollection<CustomPricingUnit> list(CustomPricingUnitListParams params, RequestOptions options) throws StripeException List all Custom Pricing Unit objects.- Throws:
StripeException
-
create
Create a Custom Pricing Unit object.- Throws:
StripeException
-
create
public CustomPricingUnit create(CustomPricingUnitCreateParams params, RequestOptions options) throws StripeException Create a Custom Pricing Unit object.- Throws:
StripeException
-
retrieve
Retrieve a Custom Pricing Unit object.- Throws:
StripeException
-
retrieve
Retrieve a Custom Pricing Unit object.- Throws:
StripeException
-
update
public CustomPricingUnit update(String id, CustomPricingUnitUpdateParams params) throws StripeException Update a Custom Pricing Unit object.- Throws:
StripeException
-
update
Update a Custom Pricing Unit object.- Throws:
StripeException
-
update
Update a Custom Pricing Unit object.- Throws:
StripeException
-
update
public CustomPricingUnit update(String id, CustomPricingUnitUpdateParams params, RequestOptions options) throws StripeException Update a Custom Pricing Unit object.- Throws:
StripeException
-