Package com.stripe.service.apps
Class SecretService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.apps.SecretService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(SecretCreateParams params) Create or replace a secret in the secret store.create
(SecretCreateParams params, RequestOptions options) Create or replace a secret in the secret store.deleteWhere
(SecretDeleteWhereParams params) Deletes a secret from the secret store by name and scope.deleteWhere
(SecretDeleteWhereParams params, RequestOptions options) Deletes a secret from the secret store by name and scope.find
(SecretFindParams params) Finds a secret in the secret store by name and scope.find
(SecretFindParams params, RequestOptions options) Finds a secret in the secret store by name and scope.list
(SecretListParams params) List all secrets stored on the given scope.list
(SecretListParams params, RequestOptions options) List all secrets stored on the given scope.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
SecretService
-
-
Method Details
-
list
List all secrets stored on the given scope.- Throws:
StripeException
-
list
public StripeCollection<Secret> list(SecretListParams params, RequestOptions options) throws StripeException List all secrets stored on the given scope.- Throws:
StripeException
-
create
Create or replace a secret in the secret store.- Throws:
StripeException
-
create
Create or replace a secret in the secret store.- Throws:
StripeException
-
find
Finds a secret in the secret store by name and scope.- Throws:
StripeException
-
find
Finds a secret in the secret store by name and scope.- Throws:
StripeException
-
deleteWhere
Deletes a secret from the secret store by name and scope.- Throws:
StripeException
-
deleteWhere
public Secret deleteWhere(SecretDeleteWhereParams params, RequestOptions options) throws StripeException Deletes a secret from the secret store by name and scope.- Throws:
StripeException
-