Package com.stripe.service.v2.billing
Class MeteredItemService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.v2.billing.MeteredItemService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate
(MeteredItemCreateParams params) Create a Metered Item object.create
(MeteredItemCreateParams params, RequestOptions options) Create a Metered Item object.list()
List all Metered Item objects in reverse chronological order of creation.list
(RequestOptions options) List all Metered Item objects in reverse chronological order of creation.list
(MeteredItemListParams params) List all Metered Item objects in reverse chronological order of creation.list
(MeteredItemListParams params, RequestOptions options) List all Metered Item objects in reverse chronological order of creation.Retrieve a Metered Item object.retrieve
(String id, RequestOptions options) Retrieve a Metered Item object.Update a Metered Item object.update
(String id, RequestOptions options) Update a Metered Item object.update
(String id, MeteredItemUpdateParams params) Update a Metered Item object.update
(String id, MeteredItemUpdateParams params, RequestOptions options) Update a Metered Item object.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
MeteredItemService
-
-
Method Details
-
list
List all Metered Item objects in reverse chronological order of creation.- Throws:
StripeException
-
list
List all Metered Item objects in reverse chronological order of creation.- Throws:
StripeException
-
list
List all Metered Item objects in reverse chronological order of creation.- Throws:
StripeException
-
list
public StripeCollection<MeteredItem> list(MeteredItemListParams params, RequestOptions options) throws StripeException List all Metered Item objects in reverse chronological order of creation.- Throws:
StripeException
-
create
Create a Metered Item object.- Throws:
StripeException
-
create
public MeteredItem create(MeteredItemCreateParams params, RequestOptions options) throws StripeException Create a Metered Item object.- Throws:
StripeException
-
retrieve
Retrieve a Metered Item object.- Throws:
StripeException
-
retrieve
Retrieve a Metered Item object.- Throws:
StripeException
-
update
Update a Metered Item object. At least one of the fields is required.- Throws:
StripeException
-
update
Update a Metered Item object. At least one of the fields is required.- Throws:
StripeException
-
update
Update a Metered Item object. At least one of the fields is required.- Throws:
StripeException
-
update
public MeteredItem update(String id, MeteredItemUpdateParams params, RequestOptions options) throws StripeException Update a Metered Item object. At least one of the fields is required.- Throws:
StripeException
-