Class MercadoPagoConfig


  • public class MercadoPagoConfig
    extends Object
    Mercado Pago configuration class.
    • Constructor Detail

      • MercadoPagoConfig

        public MercadoPagoConfig()
    • Method Detail

      • getHttpClient

        public static MPHttpClient getHttpClient()
        Verifies which http client use.
        Returns:
        MPHttpClient
      • getJavaVersion

        public static String getJavaVersion()
        Method responsible for return Java version.
        Returns:
        java version
      • getStreamHandler

        public static StreamHandler getStreamHandler()
        Method responsible for return StreamHandler.
        Returns:
        StreamHandler
      • getAccessToken

        public static String getAccessToken()
      • setAccessToken

        public static void setAccessToken​(String accessToken)
      • getPlatformId

        public static String getPlatformId()
      • setPlatformId

        public static void setPlatformId​(String platformId)
      • getCorporationId

        public static String getCorporationId()
      • setCorporationId

        public static void setCorporationId​(String corporationId)
      • getIntegratorId

        public static String getIntegratorId()
      • setIntegratorId

        public static void setIntegratorId​(String integratorId)
      • getLoggingHandler

        public static StreamHandler getLoggingHandler()
      • setLoggingHandler

        public static void setLoggingHandler​(StreamHandler loggingHandler)
      • getMetricsScope

        public static String getMetricsScope()
      • setMetricsScope

        public static void setMetricsScope​(String metricsScope)
      • getLoggingLevel

        public static Level getLoggingLevel()
      • setLoggingLevel

        public static void setLoggingLevel​(Level loggingLevel)
      • getMaxConnections

        public static int getMaxConnections()
      • setMaxConnections

        public static void setMaxConnections​(int maxConnections)
      • getConnectionTimeout

        public static int getConnectionTimeout()
      • setConnectionTimeout

        public static void setConnectionTimeout​(int connectionTimeout)
      • getConnectionRequestTimeout

        public static int getConnectionRequestTimeout()
      • setConnectionRequestTimeout

        public static void setConnectionRequestTimeout​(int connectionRequestTimeout)
      • getSocketTimeout

        public static int getSocketTimeout()
      • setSocketTimeout

        public static void setSocketTimeout​(int socketTimeout)
      • setHttpClient

        public static void setHttpClient​(MPHttpClient httpClient)
      • getProxy

        public static org.apache.http.HttpHost getProxy()
      • setProxy

        public static void setProxy​(org.apache.http.HttpHost proxy)
      • getRetryHandler

        public static org.apache.http.client.HttpRequestRetryHandler getRetryHandler()
      • setRetryHandler

        public static void setRetryHandler​(org.apache.http.client.HttpRequestRetryHandler retryHandler)