Package com.stripe.service
Class EphemeralKeyService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.EphemeralKeyService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate()
Creates a short-lived API key for a given resource.create
(RequestOptions options) Creates a short-lived API key for a given resource.create
(EphemeralKeyCreateParams params) Creates a short-lived API key for a given resource.create
(EphemeralKeyCreateParams params, RequestOptions options) Creates a short-lived API key for a given resource.Invalidates a short-lived API key for a given resource.delete
(String key, RequestOptions options) Invalidates a short-lived API key for a given resource.delete
(String key, EphemeralKeyDeleteParams params) Invalidates a short-lived API key for a given resource.delete
(String key, EphemeralKeyDeleteParams params, RequestOptions options) Invalidates a short-lived API key for a given resource.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
EphemeralKeyService
-
-
Method Details
-
delete
Invalidates a short-lived API key for a given resource.- Throws:
StripeException
-
delete
Invalidates a short-lived API key for a given resource.- Throws:
StripeException
-
delete
Invalidates a short-lived API key for a given resource.- Throws:
StripeException
-
delete
public EphemeralKey delete(String key, EphemeralKeyDeleteParams params, RequestOptions options) throws StripeException Invalidates a short-lived API key for a given resource.- Throws:
StripeException
-
create
Creates a short-lived API key for a given resource.- Throws:
StripeException
-
create
Creates a short-lived API key for a given resource.- Throws:
StripeException
-
create
Creates a short-lived API key for a given resource.- Throws:
StripeException
-
create
public EphemeralKey create(EphemeralKeyCreateParams params, RequestOptions options) throws StripeException Creates a short-lived API key for a given resource.- Throws:
StripeException
-