Package com.stripe.service.billing
Class AlertService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.billing.AlertService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReactivates this alert, allowing it to trigger again.activate
(String id, RequestOptions options) Reactivates this alert, allowing it to trigger again.activate
(String id, AlertActivateParams params) Reactivates this alert, allowing it to trigger again.activate
(String id, AlertActivateParams params, RequestOptions options) Reactivates this alert, allowing it to trigger again.Archives this alert, removing it from the list view and APIs.archive
(String id, RequestOptions options) Archives this alert, removing it from the list view and APIs.archive
(String id, AlertArchiveParams params) Archives this alert, removing it from the list view and APIs.archive
(String id, AlertArchiveParams params, RequestOptions options) Archives this alert, removing it from the list view and APIs.create
(AlertCreateParams params) Creates a billing alert.create
(AlertCreateParams params, RequestOptions options) Creates a billing alert.deactivate
(String id) Deactivates this alert, preventing it from triggering.deactivate
(String id, RequestOptions options) Deactivates this alert, preventing it from triggering.deactivate
(String id, AlertDeactivateParams params) Deactivates this alert, preventing it from triggering.deactivate
(String id, AlertDeactivateParams params, RequestOptions options) Deactivates this alert, preventing it from triggering.list()
Lists billing active and inactive alerts.list
(RequestOptions options) Lists billing active and inactive alerts.list
(AlertListParams params) Lists billing active and inactive alerts.list
(AlertListParams params, RequestOptions options) Lists billing active and inactive alerts.Retrieves a billing alert given an ID.retrieve
(String id, RequestOptions options) Retrieves a billing alert given an ID.retrieve
(String id, AlertRetrieveParams params) Retrieves a billing alert given an ID.retrieve
(String id, AlertRetrieveParams params, RequestOptions options) Retrieves a billing alert given an ID.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
AlertService
-
-
Method Details
-
list
Lists billing active and inactive alerts.- Throws:
StripeException
-
list
Lists billing active and inactive alerts.- Throws:
StripeException
-
list
Lists billing active and inactive alerts.- Throws:
StripeException
-
list
public StripeCollection<Alert> list(AlertListParams params, RequestOptions options) throws StripeException Lists billing active and inactive alerts.- Throws:
StripeException
-
create
Creates a billing alert.- Throws:
StripeException
-
create
Creates a billing alert.- Throws:
StripeException
-
retrieve
Retrieves a billing alert given an ID.- Throws:
StripeException
-
retrieve
Retrieves a billing alert given an ID.- Throws:
StripeException
-
retrieve
Retrieves a billing alert given an ID.- Throws:
StripeException
-
retrieve
public Alert retrieve(String id, AlertRetrieveParams params, RequestOptions options) throws StripeException Retrieves a billing alert given an ID.- Throws:
StripeException
-
activate
Reactivates this alert, allowing it to trigger again.- Throws:
StripeException
-
activate
Reactivates this alert, allowing it to trigger again.- Throws:
StripeException
-
activate
Reactivates this alert, allowing it to trigger again.- Throws:
StripeException
-
activate
public Alert activate(String id, AlertActivateParams params, RequestOptions options) throws StripeException Reactivates this alert, allowing it to trigger again.- Throws:
StripeException
-
archive
Archives this alert, removing it from the list view and APIs. This is non-reversible.- Throws:
StripeException
-
archive
Archives this alert, removing it from the list view and APIs. This is non-reversible.- Throws:
StripeException
-
archive
Archives this alert, removing it from the list view and APIs. This is non-reversible.- Throws:
StripeException
-
archive
public Alert archive(String id, AlertArchiveParams params, RequestOptions options) throws StripeException Archives this alert, removing it from the list view and APIs. This is non-reversible.- Throws:
StripeException
-
deactivate
Deactivates this alert, preventing it from triggering.- Throws:
StripeException
-
deactivate
Deactivates this alert, preventing it from triggering.- Throws:
StripeException
-
deactivate
Deactivates this alert, preventing it from triggering.- Throws:
StripeException
-
deactivate
public Alert deactivate(String id, AlertDeactivateParams params, RequestOptions options) throws StripeException Deactivates this alert, preventing it from triggering.- Throws:
StripeException
-