Class GrantedTokenService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.testhelpers.sharedpayment.GrantedTokenService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(GrantedTokenCreateParams params) Creates a new test SharedPaymentGrantedToken object.create(GrantedTokenCreateParams params, RequestOptions options) Creates a new test SharedPaymentGrantedToken object.Revokes a test SharedPaymentGrantedToken object.revoke(String sharedPaymentGrantedToken, RequestOptions options) Revokes a test SharedPaymentGrantedToken object.revoke(String sharedPaymentGrantedToken, GrantedTokenRevokeParams params) Revokes a test SharedPaymentGrantedToken object.revoke(String sharedPaymentGrantedToken, GrantedTokenRevokeParams params, RequestOptions options) Revokes a test SharedPaymentGrantedToken object.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
GrantedTokenService
-
-
Method Details
-
revoke
public GrantedToken revoke(String sharedPaymentGrantedToken, RequestOptions options) throws StripeException Revokes a test SharedPaymentGrantedToken object. This endpoint is only available in test mode and allows sellers to revoke SharedPaymentGrantedTokens for testing their integration- Throws:
StripeException
-
revoke
Revokes a test SharedPaymentGrantedToken object. This endpoint is only available in test mode and allows sellers to revoke SharedPaymentGrantedTokens for testing their integration- Throws:
StripeException