Class RequestOptions

java.lang.Object
com.stripe.net.RequestOptions

public class RequestOptions extends Object
  • Method Details

    • getDefault

      public static RequestOptions getDefault()
    • getApiKey

      public String getApiKey()
    • getClientId

      public String getClientId()
    • getIdempotencyKey

      public String getIdempotencyKey()
    • getStripeAccount

      public String getStripeAccount()
    • getStripeVersion

      public String getStripeVersion()
    • unsafeGetStripeVersionOverride

      public static String unsafeGetStripeVersionOverride(RequestOptions options)
    • getReadTimeout

      public Integer getReadTimeout()
    • getConnectTimeout

      public Integer getConnectTimeout()
    • getMaxNetworkRetries

      public Integer getMaxNetworkRetries()
    • getConnectionProxy

      public Proxy getConnectionProxy()
    • getProxyCredential

      public PasswordAuthentication getProxyCredential()
    • getBaseUrl

      public String getBaseUrl()
    • builder

      public static RequestOptions.RequestOptionsBuilder builder()
    • toBuilder

      Deprecated.
      prefer toBuilderFullCopy() 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

      public RequestOptions.RequestOptionsBuilder toBuilderFullCopy()
      Convert request options to builder, copying all options.
      Returns:
      option builder.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object