Package com.stripe.model.sharedpayment
Class GrantedToken.TestHelpers
java.lang.Object
com.stripe.model.sharedpayment.GrantedToken.TestHelpers
- Enclosing class:
- GrantedToken
-
Method Summary
Modifier and TypeMethodDescriptionstatic GrantedTokencreate(GrantedTokenCreateParams params) Creates a new test SharedPaymentGrantedToken object.static GrantedTokencreate(GrantedTokenCreateParams params, RequestOptions options) Creates a new test SharedPaymentGrantedToken object.static GrantedTokenCreates a new test SharedPaymentGrantedToken object.static GrantedTokencreate(Map<String, Object> params, RequestOptions options) Creates a new test SharedPaymentGrantedToken object.revoke()Revokes a test SharedPaymentGrantedToken object.revoke(RequestOptions options) Revokes a test SharedPaymentGrantedToken object.revoke(GrantedTokenRevokeParams params) Revokes a test SharedPaymentGrantedToken object.revoke(GrantedTokenRevokeParams params, RequestOptions options) Revokes a test SharedPaymentGrantedToken object.Revokes a test SharedPaymentGrantedToken object.revoke(Map<String, Object> params, RequestOptions options) Revokes a test SharedPaymentGrantedToken object.
-
Method Details
-
create
Creates a new test SharedPaymentGrantedToken object. This endpoint is only available in test mode and allows sellers to create SharedPaymentGrantedTokens for testing their integration- Throws:
StripeException
-
create
public static GrantedToken create(Map<String, Object> params, RequestOptions options) throws StripeExceptionCreates a new test SharedPaymentGrantedToken object. This endpoint is only available in test mode and allows sellers to create 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
-
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
-
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
-
revoke
public GrantedToken revoke(Map<String, Object> params, RequestOptions options) throws StripeExceptionRevokes a test SharedPaymentGrantedToken object. This endpoint is only available in test mode and allows sellers to revoke SharedPaymentGrantedTokens for testing their integration- Throws:
StripeException
-