Package com.stripe.service.v2.core
Class EventDestinationService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.v2.core.EventDestinationService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate
(EventDestinationCreateParams params) Create a new event destination.create
(EventDestinationCreateParams params, RequestOptions options) Create a new event destination.Delete an event destination.delete
(String id, RequestOptions options) Delete an event destination.Disable an event destination.disable
(String id, RequestOptions options) Disable an event destination.Enable an event destination.enable
(String id, RequestOptions options) Enable an event destination.list()
Lists all event destinations.list
(RequestOptions options) Lists all event destinations.list
(EventDestinationListParams params) Lists all event destinations.list
(EventDestinationListParams params, RequestOptions options) Lists all event destinations.Send aping
event to an event destination.ping
(String id, RequestOptions options) Send aping
event to an event destination.Retrieves the details of an event destination.retrieve
(String id, RequestOptions options) Retrieves the details of an event destination.retrieve
(String id, EventDestinationRetrieveParams params) Retrieves the details of an event destination.retrieve
(String id, EventDestinationRetrieveParams params, RequestOptions options) Retrieves the details of an event destination.Update the details of an event destination.update
(String id, RequestOptions options) Update the details of an event destination.update
(String id, EventDestinationUpdateParams params) Update the details of an event destination.update
(String id, EventDestinationUpdateParams params, RequestOptions options) Update the details of an event destination.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
EventDestinationService
-
-
Method Details
-
create
Create a new event destination.- Throws:
StripeException
-
create
public EventDestination create(EventDestinationCreateParams params, RequestOptions options) throws StripeException Create a new event destination.- Throws:
StripeException
-
delete
Delete an event destination.- Throws:
StripeException
-
delete
Delete an event destination.- Throws:
StripeException
-
disable
Disable an event destination.- Throws:
StripeException
-
disable
Disable an event destination.- Throws:
StripeException
-
enable
Enable an event destination.- Throws:
StripeException
-
enable
Enable an event destination.- Throws:
StripeException
-
list
public StripeCollection<EventDestination> list(EventDestinationListParams params) throws StripeException Lists all event destinations.- Throws:
StripeException
-
list
Lists all event destinations.- Throws:
StripeException
-
list
Lists all event destinations.- Throws:
StripeException
-
list
public StripeCollection<EventDestination> list(EventDestinationListParams params, RequestOptions options) throws StripeException Lists all event destinations.- Throws:
StripeException
-
ping
Send aping
event to an event destination.- Throws:
StripeException
-
ping
Send aping
event to an event destination.- Throws:
StripeException
-
retrieve
public EventDestination retrieve(String id, EventDestinationRetrieveParams params) throws StripeException Retrieves the details of an event destination.- Throws:
StripeException
-
retrieve
Retrieves the details of an event destination.- Throws:
StripeException
-
retrieve
Retrieves the details of an event destination.- Throws:
StripeException
-
retrieve
public EventDestination retrieve(String id, EventDestinationRetrieveParams params, RequestOptions options) throws StripeException Retrieves the details of an event destination.- Throws:
StripeException
-
update
public EventDestination update(String id, EventDestinationUpdateParams params) throws StripeException Update the details of an event destination.- Throws:
StripeException
-
update
Update the details of an event destination.- Throws:
StripeException
-
update
Update the details of an event destination.- Throws:
StripeException
-
update
public EventDestination update(String id, EventDestinationUpdateParams params, RequestOptions options) throws StripeException Update the details of an event destination.- Throws:
StripeException
-