Package com.stripe.net
Class RequestOptions
java.lang.Object
com.stripe.net.RequestOptions
- Direct Known Subclasses:
RawRequestOptions
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedRequestOptions(Authenticator authenticator, String clientId, String idempotencyKey, String stripeContext, String stripeAccount, String stripeVersionOverride, String baseUrl, Integer connectTimeout, Integer readTimeout, Integer maxNetworkRetries, Proxy connectionProxy, PasswordAuthentication proxyCredential) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanstatic RequestOptionsinthashCode()protected static StringnormalizeApiKey(String apiKey) protected static StringnormalizeBaseUrl(String baseUrl) protected static StringnormalizeClientId(String clientId) protected static StringnormalizeIdempotencyKey(String idempotencyKey) protected static StringnormalizeStripeAccount(String stripeAccount) protected static StringnormalizeStripeContext(String stripContext) protected static StringnormalizeStripeVersion(String stripeVersion) Deprecated.Convert request options to builder, copying all options.static String
-
Constructor Details
-
RequestOptions
protected RequestOptions(Authenticator authenticator, String clientId, String idempotencyKey, String stripeContext, String stripeAccount, String stripeVersionOverride, String baseUrl, Integer connectTimeout, Integer readTimeout, Integer maxNetworkRetries, Proxy connectionProxy, PasswordAuthentication proxyCredential)
-
-
Method Details
-
getDefault
-
getAuthenticator
-
getApiKey
-
getClientId
-
getStripeContext
-
getIdempotencyKey
-
getStripeAccount
-
getStripeVersion
-
unsafeGetStripeVersionOverride
-
getReadTimeout
-
getConnectTimeout
-
getMaxNetworkRetries
-
getConnectionProxy
-
getProxyCredential
-
getBaseUrl
-
builder
-
toBuilder
Deprecated.prefertoBuilderFullCopy()which fully copies the request options instead of a subset of its options.Convert request options to builder, retaining invariant values for the integration.- Returns:
- option builder.
-
toBuilderFullCopy
Convert request options to builder, copying all options.- Returns:
- option builder.
-
normalizeApiKey
-
normalizeClientId
-
normalizeStripeVersion
-
normalizeBaseUrl
-
normalizeIdempotencyKey
-
normalizeStripeContext
-
normalizeStripeAccount
-
equals
-
canEqual
-
hashCode
public int hashCode()
-
toBuilderFullCopy()which fully copies the request options instead of a subset of its options.