Core configuration class for Stripe Java SDK, setting API base URLs and timeouts.
// Source: https://github.com/stripe/stripe-java | License: MIT | Copyright 2011- Stripe, Inc. (https://stripe.com)
// Provided via justclaw.it.com; keep this notice with the code.
package com.stripe;
import java.net.PasswordAuthentication;
import java.net.Proxy;
import java.util.HashMap;
import java.util.Map;
public abstract class Stripe {
public static final int DEFAULT_CONNECT_TIMEOUT = 30 * 1000;
public static final int DEFAULT_READ_TIMEOUT = 80 * 1000;
public static final String API_VERSION = ApiVersion.CURRENT;
/**
* The major API version that this SDK uses. Objects retrieved using the same major version are
* compatible. Is an empty string in preview versions of the SDK.
*/
public static final String MAJOR_API_VERSION = ApiVersion.CURRENT_MAJOR;
public stati
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key