From 65408d3a33ce56e205e049143b9abf94ad8fb9e6 Mon Sep 17 00:00:00 2001 From: GitHub Actions <> Date: Wed, 4 Sep 2024 00:23:10 +0000 Subject: [PATCH] Update javadoc --- docs/com/bitpay/sdk/Client.html | 382 ++++++++++++++---- docs/com/bitpay/sdk/class-use/Client.html | 31 ++ .../bitpay/sdk/class-use/ConfigFilePath.html | 15 + .../com/bitpay/sdk/class-use/Environment.html | 34 ++ docs/com/bitpay/sdk/class-use/PosToken.html | 28 ++ docs/com/bitpay/sdk/class-use/PrivateKey.html | 19 + docs/com/bitpay/sdk/client/BitPayClient.html | 33 +- .../client/class-use/HttpRequestFactory.html | 9 + .../class-use/BitPayGenericException.html | 62 +++ .../sdk/util/class-use/TokenContainer.html | 19 + docs/index-all.html | 36 ++ 11 files changed, 597 insertions(+), 71 deletions(-) diff --git a/docs/com/bitpay/sdk/Client.html b/docs/com/bitpay/sdk/Client.html index 554257b7..1892ae14 100644 --- a/docs/com/bitpay/sdk/Client.html +++ b/docs/com/bitpay/sdk/Client.html @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":9,"i15":9,"i16":10,"i17":10,"i18":9,"i19":9,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10,"i69":10,"i70":10,"i71":10,"i72":10,"i73":10,"i74":10,"i75":10,"i76":10,"i77":10,"i78":10,"i79":10,"i80":10,"i81":10,"i82":10,"i83":10,"i84":10}; +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":9,"i15":9,"i16":9,"i17":9,"i18":10,"i19":10,"i20":9,"i21":9,"i22":9,"i23":9,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10,"i69":10,"i70":10,"i71":10,"i72":10,"i73":10,"i74":10,"i75":10,"i76":10,"i77":10,"i78":10,"i79":10,"i80":10,"i81":10,"i82":10,"i83":10,"i84":10,"i85":10,"i86":10,"i87":10,"i88":10}; var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -176,6 +176,14 @@
Client(ConfigFilePath configFilePath,
+ org.apache.http.HttpHost proxy,
+ org.apache.http.client.CredentialsProvider proxyCredentials,
+ String platformInfo)
+Client(Environment environment,
PrivateKey privateKey,
TokenContainer tokenContainer,
@@ -184,6 +192,16 @@ Constructor Summary
Constructor for use if the keys and SIN are managed by this library.
Client(Environment environment,
+ PrivateKey privateKey,
+ TokenContainer tokenContainer,
+ org.apache.http.HttpHost proxyDetails,
+ org.apache.http.client.CredentialsProvider proxyCredentials,
+ String platformInfo)
+Client(PosToken token)
Client(PosToken token,
+ Environment environment,
+ String platformInfo)
+Client(PosToken token,
+ String platformInfo)
+static Client
createClientByConfigFilePath(ConfigFilePath configFilePath,
+ String platformInfo)
+static Client
createClientByPrivateKey(PrivateKey privateKey,
TokenContainer tokenContainer,
Environment environment)
static Client
createClientByPrivateKey(PrivateKey privateKey,
+ TokenContainer tokenContainer,
+ Environment environment,
+ String platformInfo)
+Invoice
createInvoice(Invoice invoice)
Invoice
createInvoice(Invoice invoice,
Facade facade,
@@ -329,26 +376,41 @@ Method Summary
Create a BitPay invoice.
static Client
createPosClient(PosToken token)
static Client
createPosClient(PosToken token,
Environment environment)
static Client
createPosClient(PosToken token,
+ Environment environment,
+ String platformInfo)
+static Client
createPosClient(PosToken token,
+ String platformInfo)
+Refund
createRefund(Refund refund)
Refund
createRefund(String invoiceId,
Double amount,
@@ -359,7 +421,7 @@ Method Summary
Create a refund for a BitPay invoice.
Refund
createRefund(String invoiceId,
Double amount,
@@ -371,20 +433,20 @@ Method Summary
Create a refund for a BitPay invoice.
Boolean
deletePayoutRecipient(String recipientId)
String
deliverBill(String billId,
String billToken)
String
deliverBill(String billId,
String billToken,
@@ -392,37 +454,37 @@ Method Summary
Deliver a BitPay Bill.
protected void
deriveIdentity(org.bitcoinj.core.ECKey ecKey)
String
getAccessToken(Facade facade)
String
getAccessToken(String key)
protected String
getBaseUrl(Environment environment)
Bill
getBill(String billId)
Bill
getBill(String billId,
Facade facade,
@@ -430,62 +492,62 @@ Method Summary
Retrieve a BitPay bill by bill id using the specified facade.
protected BillClient
getBillClient()
List<Bill>
getBills()
List<Bill>
getBills(String status)
Map<String,Object>
getCurrencyInfo(String currencyCode)
protected org.bitcoinj.core.ECKey
getEcKey(Config config)
protected org.bitcoinj.core.ECKey
getEcKey(PrivateKey privateKey)
protected Facade
getFacadeBasedOnAccessToken()
protected org.apache.http.client.HttpClient
getHttpClient(org.apache.http.HttpHost proxyDetails,
org.apache.http.client.CredentialsProvider proxyCreds)
Invoice
getInvoice(String invoiceId)
Invoice
getInvoice(String invoiceId,
Facade facade,
@@ -493,13 +555,13 @@ Method Summary
Retrieve a BitPay invoice by invoice id.
Invoice
getInvoiceByGuid(String guid)
Invoice
getInvoiceByGuid(String guid,
Facade facade,
@@ -507,19 +569,19 @@ Method Summary
Retrieve a BitPay invoice by guid using the specified facade.
protected InvoiceClient
getInvoiceClient()
InvoiceEventToken
getInvoiceEventToken(String invoiceId)
List<Invoice>
getInvoices(String dateStart,
String dateEnd,
@@ -530,13 +592,13 @@ Method Summary
Retrieve a collection of BitPay invoices.
protected LedgerClient
getLedgerClient()
List<LedgerEntry>
getLedgerEntries(String currency,
String dateStart,
@@ -544,35 +606,35 @@ Method Summary
Retrieve a list of ledgers entries by currency and date range using the merchant facade.
List<Ledger>
getLedgers()
Payout
getPayout(String payoutId)
protected PayoutClient
getPayoutClient()
protected PayoutGroupClient
getPayoutGroupClient()
PayoutRecipient
getPayoutRecipient(String recipientId)
List<PayoutRecipient>
getPayoutRecipients(String status,
Integer limit,
@@ -580,13 +642,13 @@ Method Summary
Retrieve a collection of BitPay Payout Recipients.
protected PayoutRecipientsClient
getPayoutRecipientsClient()
List<Payout>
getPayouts(String startDate,
String endDate,
@@ -598,75 +660,75 @@ Method Summary
Retrieve a collection of BitPay payouts.
Rate
getRate(String baseCurrency,
String currency)
RateClient
getRateClient()
Rates
getRates()
Rates
getRates(String baseCurrency)
Refund
getRefund(String refundId)
Refund
getRefundByGuid(String guid)
protected RefundClient
getRefundClient()
List<Refund>
getRefunds(String invoiceId)
Settlement
getSettlement(String settlementId)
protected SettlementClient
getSettlementClient()
Settlement
getSettlementReconciliationReport(String settlementId,
String token)
List<Settlement>
getSettlements(String currency,
String dateStart,
@@ -677,82 +739,82 @@ Method Summary
Retrieves settlement reports for the calling merchant filtered by query.
List<Wallet>
getSupportedWallets()
protected WalletClient
getWalletClient()
protected boolean
isSignRequest(Facade facade)
Invoice
payInvoice(String invoiceId,
String status)
Boolean
requestInvoiceWebhookToBeResent(String invoiceId)
Boolean
requestPayoutNotification(String payoutId)
Boolean
requestPayoutRecipientNotification(String recipientId)
Boolean
sendRefundNotification(String refundId)
Payout
submitPayout(Payout payout)
List<PayoutRecipient>
submitPayoutRecipients(PayoutRecipients recipients)
PayoutGroup
submitPayouts(Collection<Payout> payouts)
Bill
updateBill(Bill bill,
String billId)
Invoice
updateInvoice(String invoiceId,
String buyerSms,
@@ -762,21 +824,21 @@ Method Summary
Update a BitPay invoice with communication method.
PayoutRecipient
updatePayoutRecipient(String recipientId,
PayoutRecipient recipient)
Refund
updateRefund(String refundId,
String status)
Refund
updateRefundByGuid(String guid,
String status)
@@ -870,6 +932,25 @@ public Client(PosToken token, + String platformInfo) + throws BitPayGenericException+
token
- POS tokenplatformInfo
- Platform infoBitPayGenericException
- BitPayGenericException classpublic Client(PosToken token, + Environment environment, + String platformInfo) + throws BitPayGenericException+
token
- POS tokenenvironment
- EnvironmentplatformInfo
- Platform infoBitPayGenericException
- BitPayGenericException classpublic Client(Environment environment, + PrivateKey privateKey, + TokenContainer tokenContainer, + org.apache.http.HttpHost proxyDetails, + org.apache.http.client.CredentialsProvider proxyCredentials, + String platformInfo) + throws BitPayGenericException+
environment
- Target environment. Options: Env.Test / Env.ProdprivateKey
- The full path to the securely located private key or the HEX key value.tokenContainer
- Object containing the available tokens.proxyDetails
- HttpHost Optional Proxy setting (set to NULL to ignore)proxyCredentials
- CredentialsProvider Optional Proxy Basic Auth Credentials (set to NULL to ignore)platformInfo
- Platform InfoBitPayGenericException
- BitPayGenericException classpublic Client(ConfigFilePath configFilePath, + org.apache.http.HttpHost proxy, + org.apache.http.client.CredentialsProvider proxyCredentials, + String platformInfo) + throws BitPayGenericException+
configFilePath
- The path to the configuration file.proxy
- HttpHost Optional Proxy setting (set to NULL to ignore)proxyCredentials
- CredentialsProvider Optional Proxy Basic Auth Credentials (set to NULL to ignore)platformInfo
- Platform InfoBitPayGenericException
- BitPayGenericException classpublic static Client createPosClient(PosToken token, + String platformInfo) + throws BitPayGenericException+
token
- the tokenplatformInfo
- the platform infoBitPayGenericException
- BitPayGenericException classpublic static Client createPosClient(PosToken token, + Environment environment, + String platformInfo) + throws BitPayGenericException+
token
- the tokenenvironment
- environmentplatformInfo
- the platform infoBitPayGenericException
- BitPayGenericException classpublic static Client createClientByPrivateKey(PrivateKey privateKey, + TokenContainer tokenContainer, + Environment environment, + String platformInfo) + throws BitPayGenericException+
privateKey
- the private keytokenContainer
- the token containerenvironment
- environmentplatformInfo
- the platform infoBitPayGenericException
- BitPayGenericException classpublic static Client createClientByConfigFilePath(ConfigFilePath configFilePath, + String platformInfo) + throws BitPayGenericException+
configFilePath
- the config file pathplatformInfo
- the platform infoBitPayGenericException
- BitPayGenericException classstatic Client
createClientByConfigFilePath(ConfigFilePath configFilePath,
+ String platformInfo)
+static Client
createClientByPrivateKey(PrivateKey privateKey,
TokenContainer tokenContainer,
Environment environment)
static Client
createClientByPrivateKey(PrivateKey privateKey,
+ TokenContainer tokenContainer,
+ Environment environment,
+ String platformInfo)
+static Client
createPosClient(PosToken token)
@@ -131,6 +147,21 @@ static Client
createPosClient(PosToken token,
+ Environment environment,
+ String platformInfo)
+static Client
createPosClient(PosToken token,
+ String platformInfo)
+static Client
createClientByConfigFilePath(ConfigFilePath configFilePath,
+ String platformInfo)
+static Client
createClientByPrivateKey(PrivateKey privateKey,
+ TokenContainer tokenContainer,
+ Environment environment,
+ String platformInfo)
+static Client
createPosClient(PosToken token,
Environment environment)
static Client
createPosClient(PosToken token,
+ Environment environment,
+ String platformInfo)
+protected String
getBaseUrl(Environment environment)
@@ -189,11 +206,28 @@ Client(Environment environment,
+ PrivateKey privateKey,
+ TokenContainer tokenContainer,
+ org.apache.http.HttpHost proxyDetails,
+ org.apache.http.client.CredentialsProvider proxyCredentials,
+ String platformInfo)
+Client(PosToken token,
Environment environment)
Client(PosToken token,
+ Environment environment,
+ String platformInfo)
+static Client
createPosClient(PosToken token,
+ Environment environment,
+ String platformInfo)
+static Client
createPosClient(PosToken token,
+ String platformInfo)
+static Client
createClientByPrivateKey(PrivateKey privateKey,
+ TokenContainer tokenContainer,
+ Environment environment,
+ String platformInfo)
+protected org.bitcoinj.core.ECKey
getEcKey(PrivateKey privateKey)
Client(Environment environment,
+ PrivateKey privateKey,
+ TokenContainer tokenContainer,
+ org.apache.http.HttpHost proxyDetails,
+ org.apache.http.client.CredentialsProvider proxyCredentials,
+ String platformInfo)
+BitPayClient(org.apache.http.client.HttpClient httpClient,
+ HttpRequestFactory httpRequestFactory,
+ String baseUrl,
+ org.bitcoinj.core.ECKey ecKey,
+ String platformInfo)
+public BitPayClient(org.apache.http.client.HttpClient httpClient, @@ -244,6 +253,28 @@BitPayClient
public BitPayClient(org.apache.http.client.HttpClient httpClient, + HttpRequestFactory httpRequestFactory, + String baseUrl, + org.bitcoinj.core.ECKey ecKey, + String platformInfo)+
httpClient
- the http clienthttpRequestFactory
- the http request factorybaseUrl
- the base urlecKey
- the ECKeyplatformInfo
- the Platform InfoBitPayClient(org.apache.http.client.HttpClient httpClient,
+ HttpRequestFactory httpRequestFactory,
+ String baseUrl,
+ org.bitcoinj.core.ECKey ecKey,
+ String platformInfo)
+static Client
createClientByConfigFilePath(ConfigFilePath configFilePath,
+ String platformInfo)
+static Client
createClientByPrivateKey(PrivateKey privateKey,
TokenContainer tokenContainer,
Environment environment)
static Client
createClientByPrivateKey(PrivateKey privateKey,
+ TokenContainer tokenContainer,
+ Environment environment,
+ String platformInfo)
+Invoice
createInvoice(Invoice invoice)
@@ -271,6 +287,21 @@ static Client
createPosClient(PosToken token,
+ Environment environment,
+ String platformInfo)
+static Client
createPosClient(PosToken token,
+ String platformInfo)
+Refund
createRefund(Refund refund)
Client(ConfigFilePath configFilePath,
+ org.apache.http.HttpHost proxy,
+ org.apache.http.client.CredentialsProvider proxyCredentials,
+ String platformInfo)
+Client(Environment environment,
PrivateKey privateKey,
TokenContainer tokenContainer,
@@ -652,6 +691,16 @@ Uses of Constructor for use if the keys and SIN are managed by this library.
Client(Environment environment,
+ PrivateKey privateKey,
+ TokenContainer tokenContainer,
+ org.apache.http.HttpHost proxyDetails,
+ org.apache.http.client.CredentialsProvider proxyCredentials,
+ String platformInfo)
+Client(PosToken token)
Client(PosToken token,
+ Environment environment,
+ String platformInfo)
+Client(PosToken token,
+ String platformInfo)
+static Client
createClientByPrivateKey(PrivateKey privateKey,
+ TokenContainer tokenContainer,
+ Environment environment,
+ String platformInfo)
+