Interface StripeTokenResponseOutput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<StripeTokenResponseOutput.Builder,,StripeTokenResponseOutput> SdkBuilder<StripeTokenResponseOutput.Builder,,StripeTokenResponseOutput> SdkPojo
- Enclosing class:
StripeTokenResponseOutput
@Mutable
@NotThreadSafe
public static interface StripeTokenResponseOutput.Builder
extends SdkPojo, CopyableBuilder<StripeTokenResponseOutput.Builder,StripeTokenResponseOutput>
-
Method Summary
Modifier and TypeMethodDescriptionbearerToken(String bearerToken) Bearer credential for the Authorization header.publishableKey(String publishableKey) Stripe publishable key (pk_live_* or pk_test_*).Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
bearerToken
Bearer credential for the Authorization header. A merchant-created restricted key (rk_live_* or rk_test_*) for a MANUAL connector. The caller applies it as
Authorization: Bearer <bearerToken>.- Parameters:
bearerToken- Bearer credential for the Authorization header. A merchant-created restricted key (rk_live_* or rk_test_*) for a MANUAL connector. The caller applies it asAuthorization: Bearer <bearerToken>.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publishableKey
Stripe publishable key (pk_live_* or pk_test_*). Present only when one is stored on the provider. Public by design, so the caller returns it to the browser for the Payment Element.
- Parameters:
publishableKey- Stripe publishable key (pk_live_* or pk_test_*). Present only when one is stored on the provider. Public by design, so the caller returns it to the browser for the Payment Element.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-