Package com.stripe.net
Class RequestOptions
java.lang.Object
com.stripe.net.RequestOptions
- Direct Known Subclasses:
RawRequestOptions
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
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 Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
static RequestOptions
int
hashCode()
protected static String
normalizeApiKey
(String apiKey) protected static String
normalizeBaseUrl
(String baseUrl) protected static String
normalizeClientId
(String clientId) protected static String
normalizeIdempotencyKey
(String idempotencyKey) protected static String
normalizeStripeAccount
(String stripeAccount) protected static String
normalizeStripeContext
(String stripContext) protected static String
normalizeStripeVersion
(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.