Package com.stripe.service.billing
Class MeterService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.billing.MeterService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(MeterCreateParams params) Creates a billing meter.create
(MeterCreateParams params, RequestOptions options) Creates a billing meter.deactivate
(String id) Deactivates a billing meter.deactivate
(String id, RequestOptions options) Deactivates a billing meter.deactivate
(String id, MeterDeactivateParams params) Deactivates a billing meter.deactivate
(String id, MeterDeactivateParams params, RequestOptions options) Deactivates a billing meter.list()
Retrieve a list of billing meters.list
(RequestOptions options) Retrieve a list of billing meters.list
(MeterListParams params) Retrieve a list of billing meters.list
(MeterListParams params, RequestOptions options) Retrieve a list of billing meters.reactivate
(String id) Reactivates a billing meter.reactivate
(String id, RequestOptions options) Reactivates a billing meter.reactivate
(String id, MeterReactivateParams params) Reactivates a billing meter.reactivate
(String id, MeterReactivateParams params, RequestOptions options) Reactivates a billing meter.Retrieves a billing meter given an ID.retrieve
(String id, RequestOptions options) Retrieves a billing meter given an ID.retrieve
(String id, MeterRetrieveParams params) Retrieves a billing meter given an ID.retrieve
(String id, MeterRetrieveParams params, RequestOptions options) Retrieves a billing meter given an ID.Updates a billing meter.update
(String id, RequestOptions options) Updates a billing meter.update
(String id, MeterUpdateParams params) Updates a billing meter.update
(String id, MeterUpdateParams params, RequestOptions options) Updates a billing meter.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
MeterService
-
-
Method Details
-
list
Retrieve a list of billing meters.- Throws:
StripeException
-
list
Retrieve a list of billing meters.- Throws:
StripeException
-
list
Retrieve a list of billing meters.- Throws:
StripeException
-
list
public StripeCollection<Meter> list(MeterListParams params, RequestOptions options) throws StripeException Retrieve a list of billing meters.- Throws:
StripeException
-
create
Creates a billing meter.- Throws:
StripeException
-
create
Creates a billing meter.- Throws:
StripeException
-
retrieve
Retrieves a billing meter given an ID.- Throws:
StripeException
-
retrieve
Retrieves a billing meter given an ID.- Throws:
StripeException
-
retrieve
Retrieves a billing meter given an ID.- Throws:
StripeException
-
retrieve
public Meter retrieve(String id, MeterRetrieveParams params, RequestOptions options) throws StripeException Retrieves a billing meter given an ID.- Throws:
StripeException
-
update
Updates a billing meter.- Throws:
StripeException
-
update
Updates a billing meter.- Throws:
StripeException
-
update
Updates a billing meter.- Throws:
StripeException
-
update
public Meter update(String id, MeterUpdateParams params, RequestOptions options) throws StripeException Updates a billing meter.- Throws:
StripeException
-
deactivate
Deactivates a billing meter.- Throws:
StripeException
-
deactivate
Deactivates a billing meter.- Throws:
StripeException
-
deactivate
Deactivates a billing meter.- Throws:
StripeException
-
deactivate
public Meter deactivate(String id, MeterDeactivateParams params, RequestOptions options) throws StripeException Deactivates a billing meter.- Throws:
StripeException
-
reactivate
Reactivates a billing meter.- Throws:
StripeException
-
reactivate
Reactivates a billing meter.- Throws:
StripeException
-
reactivate
Reactivates a billing meter.- Throws:
StripeException
-
reactivate
public Meter reactivate(String id, MeterReactivateParams params, RequestOptions options) throws StripeException Reactivates a billing meter.- Throws:
StripeException
-
eventSummaries
-