diff --git a/GUIDE.md b/GUIDE.md index a52ceaf6..944cdc8f 100644 --- a/GUIDE.md +++ b/GUIDE.md @@ -77,7 +77,7 @@ Once you have the environment file (JSON previously generated) you can initializ ```Java // Provide the full path to the env file which you have previously stored securely. -Client bitpay = new Client("[FULL_PATH_TO_THE_CONFIG_FILE]"); +Client bitpay = new Client("[FULL_PATH_TO_THE_CONFIG_FILE]", null); //as second argument, Pass a HttpHost object for proxy usage or NULL to ignore ``` ```Java @@ -85,12 +85,13 @@ Client bitpay = new Client("[FULL_PATH_TO_THE_CONFIG_FILE]"); Client bitpay = new Client( Env.Test, - "[FULL_PATH_TO_THE_PRIVATE_KEY]", + "[FULL_PATH_TO_THE_PRIVATE_KEY_|OR|_PRIVATE_KEY_AS-PLAIN_TEXT]", new Env.Tokens(){{ pos = "AvJdGrEqTW9HVsJit9zabAnrJabqaQDhWHRacHYgfgxK"; merchant = "2smKkjA1ACPKWUGN7wUEEqdWi3rhXYhDX6AKgG4njKvj"; payroll = "9pJ7fzW1GGeuDQfj32aNATCDnyY6YAacVMcDrs7HHUNo"; - }} + }}, + null //Pass a HttpHost object for proxy usage or NULL to ignore ); ``` diff --git a/apidocs/allclasses-index.html b/apidocs/allclasses-index.html index 49ce54fe..b95651d7 100644 --- a/apidocs/allclasses-index.html +++ b/apidocs/allclasses-index.html @@ -2,10 +2,10 @@ - + All Classes - + diff --git a/apidocs/allpackages-index.html b/apidocs/allpackages-index.html index 3c919cc4..b86f4201 100644 --- a/apidocs/allpackages-index.html +++ b/apidocs/allpackages-index.html @@ -2,10 +2,10 @@ - + All Packages - + diff --git a/apidocs/com/bitpay/sdk/BitPayException.html b/apidocs/com/bitpay/sdk/BitPayException.html index caebb8a5..776a5623 100644 --- a/apidocs/com/bitpay/sdk/BitPayException.html +++ b/apidocs/com/bitpay/sdk/BitPayException.html @@ -2,10 +2,10 @@ - + BitPayException - + diff --git a/apidocs/com/bitpay/sdk/Client.html b/apidocs/com/bitpay/sdk/Client.html index 2c7c03ee..229ee212 100644 --- a/apidocs/com/bitpay/sdk/Client.html +++ b/apidocs/com/bitpay/sdk/Client.html @@ -2,10 +2,10 @@ - + Client - + @@ -118,9 +118,9 @@

Class Client

extends java.lang.Object
Version:
-
4.3.2001 +
4.4.2002 See bitpay.com/api for more information. - date 30.01.2020
+ date 05.02.2020
Author:
Antonio Buedo
@@ -173,15 +173,17 @@

Constructor Summary

-Client​(java.lang.String configFilePath) +Client​(java.lang.String environment, + java.lang.String privateKey, + Env.Tokens tokens, + org.apache.http.HttpHost proxy)
Constructor for use if the keys and SIN are managed by this library.
-Client​(java.lang.String environment, - java.lang.String privateKey, - Env.Tokens tokens) +Client​(java.lang.String configFilePath, + org.apache.http.HttpHost proxy)
Constructor for use if the keys and SIN are managed by this library.
@@ -602,7 +604,7 @@

_currenciesInfo

Constructor Detail

- + - +