From b57e4cd60e237b9322e3abb4a1943a047b96f247 Mon Sep 17 00:00:00 2001 From: Robert Brodie Date: Thu, 28 Mar 2024 20:03:50 -0400 Subject: [PATCH 1/3] Re-implement PR #287 for 9.0.x --- .../BitPaySDK/PayoutRecipientsClientTest.php | 6 +++--- test/unit/BitPaySDK/ClientTest.php | 4 ++-- test/unit/BitPaySDK/Model/Bill/BillTest.php | 2 +- test/unit/BitPaySDK/Model/CurrencyTest.php | 8 ++++---- .../BitPaySDK/Model/Invoice/BuyerProvidedInfoTest.php | 2 +- .../BitPaySDK/Model/Invoice/ItemizedDetailsTest.php | 2 +- test/unit/BitPaySDK/Model/Invoice/RefundTest.php | 6 +++--- .../unit/BitPaySDK/Model/Invoice/RefundWebhookTest.php | 4 ++-- .../Model/Invoice/SupportedTransactionCurrencyTest.php | 2 +- test/unit/BitPaySDK/Model/Wallet/CurrenciesTest.php | 10 +++++----- test/unit/BitPaySDK/Model/Wallet/CurrencyQrTest.php | 2 +- 11 files changed, 24 insertions(+), 24 deletions(-) diff --git a/test/functional/BitPaySDK/PayoutRecipientsClientTest.php b/test/functional/BitPaySDK/PayoutRecipientsClientTest.php index c92b5ba3..1b4eea8a 100644 --- a/test/functional/BitPaySDK/PayoutRecipientsClientTest.php +++ b/test/functional/BitPaySDK/PayoutRecipientsClientTest.php @@ -55,7 +55,7 @@ public function testGetPayoutRecipient() self::assertEquals('test@emaill1.com', $recipient->getEmail()); self::assertEquals('recipient1', $recipient->getLabel()); self::assertEquals('invited', $recipient->getStatus()); - self::assertEquals(null, $recipient->getShopperId()); + self::assertNull($recipient->getShopperId()); } public function testPayoutRecipientShouldCatchRestCliException(): void @@ -113,7 +113,7 @@ public function testDeletePayoutRecipient(): void $result = $this->client->deletePayoutRecipient($payoutRecipientId); - self::assertEquals(true, $result); + self::assertTrue($result); } public function testPayoutRecipientRequestNotification(): void @@ -131,6 +131,6 @@ public function testPayoutRecipientRequestNotification(): void $result = $this->client->requestPayoutRecipientNotification($payoutRecipientId); - self::assertEquals(true, $result); + self::assertTrue($result); } } \ No newline at end of file diff --git a/test/unit/BitPaySDK/ClientTest.php b/test/unit/BitPaySDK/ClientTest.php index 6986b907..f7f2777b 100644 --- a/test/unit/BitPaySDK/ClientTest.php +++ b/test/unit/BitPaySDK/ClientTest.php @@ -3056,7 +3056,7 @@ public function testCancelInvoice() $result = $testedObject->cancelInvoice(self::TEST_INVOICE_ID, $params['forceCancel']); self::assertEquals(self::TEST_INVOICE_ID, $result->getId()); - self::assertEquals(true, $result->getIsCancelled()); + self::assertTrue($result->getIsCancelled()); } /** @@ -3114,7 +3114,7 @@ public function testCancelInvoiceByGuid() $result = $testedObject->cancelInvoiceByGuid(self::TEST_INVOICE_GUID, $params['forceCancel']); self::assertEquals(self::TEST_INVOICE_GUID, $result->getGuid()); self::assertEquals(self::TEST_INVOICE_ID, $result->getId()); - self::assertEquals(true, $result->getIsCancelled()); + self::assertTrue($result->getIsCancelled()); } /** diff --git a/test/unit/BitPaySDK/Model/Bill/BillTest.php b/test/unit/BitPaySDK/Model/Bill/BillTest.php index 000f4779..a0058820 100644 --- a/test/unit/BitPaySDK/Model/Bill/BillTest.php +++ b/test/unit/BitPaySDK/Model/Bill/BillTest.php @@ -259,7 +259,7 @@ public function testToArray() self::assertEquals([''], $billArray['cc']); self::assertEquals('123456789', $billArray['phone']); self::assertEquals('2022-01-01', $billArray['dueDate']); - self::assertEquals(true, $billArray['passProcessingFee']); + self::assertTrue($billArray['passProcessingFee']); self::assertEquals('status', $billArray['status']); self::assertEquals('http://test.com', $billArray['url']); self::assertEquals('2022-01-01', $billArray['createDate']); diff --git a/test/unit/BitPaySDK/Model/CurrencyTest.php b/test/unit/BitPaySDK/Model/CurrencyTest.php index 2f553cdc..9cdabcc9 100644 --- a/test/unit/BitPaySDK/Model/CurrencyTest.php +++ b/test/unit/BitPaySDK/Model/CurrencyTest.php @@ -51,12 +51,12 @@ public function testToArray() self::assertEquals('BTC', $currencyArray['code']); self::assertEquals('Symbol', $currencyArray['symbol']); self::assertEquals(1, $currencyArray['precision']); - self::assertEquals(true, $currencyArray['currentlySettled']); + self::assertTrue($currencyArray['currentlySettled']); self::assertEquals('Bitcoin', $currencyArray['name']); self::assertEquals('plural', $currencyArray['plural']); self::assertEquals('alts', $currencyArray['alts']); self::assertEquals('minimum', $currencyArray['minimum']); - self::assertEquals(true, $currencyArray['sanctioned']); + self::assertTrue($currencyArray['sanctioned']); self::assertEquals(2, $currencyArray['decimals']); self::assertEquals('chain', $currencyArray['chain']); } @@ -86,7 +86,7 @@ public function testGetCurrentlySettled() { $currency = $this->createClassObject(); $currency->setCurrentlySettled(true); - self::assertEquals(true, $currency->getCurrentlySettled()); + self::assertTrue($currency->getCurrentlySettled()); } public function testGetName() @@ -121,7 +121,7 @@ public function testGetSanctioned() { $currency = $this->createClassObject(); $currency->setSanctioned(true); - self::assertEquals(true, $currency->getSanctioned()); + self::assertTrue($currency->getSanctioned()); } public function testGetDecimals() diff --git a/test/unit/BitPaySDK/Model/Invoice/BuyerProvidedInfoTest.php b/test/unit/BitPaySDK/Model/Invoice/BuyerProvidedInfoTest.php index 605079d1..e319047c 100644 --- a/test/unit/BitPaySDK/Model/Invoice/BuyerProvidedInfoTest.php +++ b/test/unit/BitPaySDK/Model/Invoice/BuyerProvidedInfoTest.php @@ -113,7 +113,7 @@ public function testToArray() self::assertEquals('example@bitpay.com', $buyerProvidedInfoArray['emailAddress']); self::assertEquals('BTC', $buyerProvidedInfoArray['selectedTransactionCurrency']); self::assertEquals('4445556666', $buyerProvidedInfoArray['sms']); - self::assertEquals(true, $buyerProvidedInfoArray['smsVerified']); + self::assertTrue($buyerProvidedInfoArray['smsVerified']); } public function testToArrayEmptyKey() diff --git a/test/unit/BitPaySDK/Model/Invoice/ItemizedDetailsTest.php b/test/unit/BitPaySDK/Model/Invoice/ItemizedDetailsTest.php index e2be088c..d83c99c4 100644 --- a/test/unit/BitPaySDK/Model/Invoice/ItemizedDetailsTest.php +++ b/test/unit/BitPaySDK/Model/Invoice/ItemizedDetailsTest.php @@ -53,7 +53,7 @@ public function testToArray() self::assertEquals(15.5, $itemizedDetailsArray['amount']); self::assertEquals('Test description', $itemizedDetailsArray['description']); - self::assertEquals(true, $itemizedDetailsArray['isFee']); + self::assertTrue($itemizedDetailsArray['isFee']); } private function createClassObject(): ItemizedDetails diff --git a/test/unit/BitPaySDK/Model/Invoice/RefundTest.php b/test/unit/BitPaySDK/Model/Invoice/RefundTest.php index 9914a145..62a5b284 100644 --- a/test/unit/BitPaySDK/Model/Invoice/RefundTest.php +++ b/test/unit/BitPaySDK/Model/Invoice/RefundTest.php @@ -175,11 +175,11 @@ public function testToArray() self::assertEquals('2022-01-01', $refundArray['requestDate']); self::assertEquals('pending', $refundArray['status']); self::assertEquals('11', $refundArray['invoiceId']); - self::assertEquals(true, $refundArray['preview']); - self::assertEquals(true, $refundArray['immediate']); + self::assertTrue($refundArray['preview']); + self::assertTrue($refundArray['immediate']); self::assertEquals(1.0, $refundArray['refundFee']); self::assertEquals('Invoice', $refundArray['invoice']); - self::assertEquals(true, $refundArray['buyerPaysRefundFee']); + self::assertTrue($refundArray['buyerPaysRefundFee']); self::assertEquals('Reference', $refundArray['reference']); self::assertEquals('Last refunded notification', $refundArray['lastRefundNotification']); } diff --git a/test/unit/BitPaySDK/Model/Invoice/RefundWebhookTest.php b/test/unit/BitPaySDK/Model/Invoice/RefundWebhookTest.php index d4f4dab4..62014832 100644 --- a/test/unit/BitPaySDK/Model/Invoice/RefundWebhookTest.php +++ b/test/unit/BitPaySDK/Model/Invoice/RefundWebhookTest.php @@ -146,8 +146,8 @@ public function testToArray() self::assertEquals('USD', $refundWebhookArray['currency']); self::assertEquals('2022-01-11T16:58:23.967Z', $refundWebhookArray['lastRefundNotification']); self::assertEquals(2.31, $refundWebhookArray['refundFee']); - self::assertEquals(false, $refundWebhookArray['immediate']); - self::assertEquals(true, $refundWebhookArray['buyerPaysRefundFee']); + self::assertFalse($refundWebhookArray['immediate']); + self::assertTrue($refundWebhookArray['buyerPaysRefundFee']); self::assertEquals('2022-01-11T16:58:23.000Z', $refundWebhookArray['requestDate']); self::assertEquals('someReference', $refundWebhookArray['reference']); self::assertEquals('someGuid', $refundWebhookArray['guid']); diff --git a/test/unit/BitPaySDK/Model/Invoice/SupportedTransactionCurrencyTest.php b/test/unit/BitPaySDK/Model/Invoice/SupportedTransactionCurrencyTest.php index 70d93953..38e1016e 100644 --- a/test/unit/BitPaySDK/Model/Invoice/SupportedTransactionCurrencyTest.php +++ b/test/unit/BitPaySDK/Model/Invoice/SupportedTransactionCurrencyTest.php @@ -42,7 +42,7 @@ public function testToArray() self::assertArrayHasKey('enabled', $supportedTransactionCurrencyArray); self::assertArrayHasKey('reason', $supportedTransactionCurrencyArray); - self::assertEquals(true, $supportedTransactionCurrencyArray['enabled']); + self::assertTrue($supportedTransactionCurrencyArray['enabled']); self::assertEquals("My reason", $supportedTransactionCurrencyArray['reason']); } diff --git a/test/unit/BitPaySDK/Model/Wallet/CurrenciesTest.php b/test/unit/BitPaySDK/Model/Wallet/CurrenciesTest.php index 1503b8cb..ed4e2b69 100644 --- a/test/unit/BitPaySDK/Model/Wallet/CurrenciesTest.php +++ b/test/unit/BitPaySDK/Model/Wallet/CurrenciesTest.php @@ -100,14 +100,14 @@ public function testToArray() self::assertArrayHasKey('walletConnect', $currenciesArray); self::assertEquals('BTH', $currenciesArray['code']); - self::assertEquals(true, $currenciesArray['p2p']); - self::assertEquals(true, $currenciesArray['dappBrowser']); + self::assertTrue($currenciesArray['p2p']); + self::assertTrue($currenciesArray['dappBrowser']); self::assertEquals('https://bitpay.com/api/images/logo-6fa5404d.svg', $currenciesArray['image']); - self::assertEquals(true, $currenciesArray['paypro']); + self::assertTrue($currenciesArray['paypro']); self::assertEquals('BIP21', $currenciesArray['qr']['type']); - self::assertEquals(false, $currenciesArray['qr']['collapsed']); + self::assertFalse($currenciesArray['qr']['collapsed']); self::assertEquals('1.23', $currenciesArray['withdrawalFee']); - self::assertEquals(true, $currenciesArray['walletConnect']); + self::assertTrue($currenciesArray['walletConnect']); } private function createClassObject(): Currencies diff --git a/test/unit/BitPaySDK/Model/Wallet/CurrencyQrTest.php b/test/unit/BitPaySDK/Model/Wallet/CurrencyQrTest.php index 9d62b402..b30d56ee 100644 --- a/test/unit/BitPaySDK/Model/Wallet/CurrencyQrTest.php +++ b/test/unit/BitPaySDK/Model/Wallet/CurrencyQrTest.php @@ -42,7 +42,7 @@ public function testToArray() self::assertArrayHasKey('collapsed', $currencyQrArray); self::assertEquals('BIP21', $currencyQrArray['type']); - self::assertEquals(false, $currencyQrArray['collapsed']); + self::assertFalse($currencyQrArray['collapsed']); } private function createClassObject(): CurrencyQr From db2a6a14ca59d75e114a80d38939edea2611a65e Mon Sep 17 00:00:00 2001 From: Robert Brodie Date: Fri, 29 Mar 2024 09:46:37 -0400 Subject: [PATCH 2/3] Generate documentation on version branches --- .github/workflows/documentation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 188bf6ba..437f8b1e 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -3,7 +3,7 @@ name: Documentation on: push: branches: - - master + - '*.*.x' concurrency: group: documentation From cdc6ed9df3db9b2467a48e3f6f8b4658dd1a38b8 Mon Sep 17 00:00:00 2001 From: GitHub Actions <> Date: Fri, 29 Mar 2024 13:47:07 +0000 Subject: [PATCH 3/3] Update phpdoc --- docs/classes/BitPaySDK-Client-BillClient.html | 110 +- .../BitPaySDK-Client-InvoiceClient.html | 194 +- .../BitPaySDK-Client-LedgerClient.html | 54 +- .../BitPaySDK-Client-PayoutClient.html | 122 +- ...tPaySDK-Client-PayoutRecipientsClient.html | 102 +- docs/classes/BitPaySDK-Client-RateClient.html | 64 +- .../BitPaySDK-Client-RefundClient.html | 140 +- .../BitPaySDK-Client-SettlementClient.html | 83 +- .../classes/BitPaySDK-Client-TokenClient.html | 34 +- .../BitPaySDK-Client-WalletClient.html | 34 +- docs/classes/BitPaySDK-Client.html | 581 +- docs/classes/BitPaySDK-Env.html | 18 +- ...tPaySDK-Exceptions-BitPayApiException.html | 515 ++ .../BitPaySDK-Exceptions-BitPayException.html | 336 +- ...DK-Exceptions-BitPayExceptionProvider.html | 894 +++ ...SDK-Exceptions-BitPayGenericException.html | 326 + ...-Exceptions-BitPayValidationException.html | 326 + .../BitPaySDK-Logger-BitPayLogger.html | 504 ++ .../classes/BitPaySDK-Logger-EmptyLogger.html | 525 ++ .../BitPaySDK-Logger-LoggerProvider.html | 531 ++ docs/classes/BitPaySDK-Model-Bill-Bill.html | 154 +- .../BitPaySDK-Model-Bill-BillStatus.html | 18 +- docs/classes/BitPaySDK-Model-Bill-Item.html | 45 +- docs/classes/BitPaySDK-Model-Currency.html | 800 +- docs/classes/BitPaySDK-Model-Facade.html | 18 +- .../BitPaySDK-Model-Invoice-Buyer.html | 18 +- .../BitPaySDK-Model-Invoice-BuyerFields.html | 1701 +++++ ...aySDK-Model-Invoice-BuyerProvidedInfo.html | 18 +- .../BitPaySDK-Model-Invoice-Invoice.html | 515 +- ...-Model-Invoice-InvoiceRefundAddresses.html | 884 +++ ...BitPaySDK-Model-Invoice-InvoiceStatus.html | 84 +- ...ySDK-Model-Invoice-InvoiceTransaction.html | 1280 ++++ ...itPaySDK-Model-Invoice-InvoiceWebhook.html | 2741 +++++++ ...tPaySDK-Model-Invoice-ItemizedDetails.html | 18 +- .../BitPaySDK-Model-Invoice-MinerFees.html | 338 +- ...BitPaySDK-Model-Invoice-MinerFeesItem.html | 46 +- .../BitPaySDK-Model-Invoice-Refund.html | 18 +- .../BitPaySDK-Model-Invoice-RefundInfo.html | 18 +- .../BitPaySDK-Model-Invoice-RefundStatus.html | 18 +- ...BitPaySDK-Model-Invoice-RefundWebhook.html | 1530 +++- .../BitPaySDK-Model-Invoice-Shopper.html | 18 +- ...nvoice-SupportedTransactionCurrencies.html | 1830 ++++- ...-Invoice-SupportedTransactionCurrency.html | 18 +- ...itPaySDK-Model-Invoice-UniversalCodes.html | 18 +- .../classes/BitPaySDK-Model-Ledger-Buyer.html | 378 +- .../BitPaySDK-Model-Ledger-Ledger.html | 18 +- .../BitPaySDK-Model-Ledger-LedgerEntry.html | 60 +- .../BitPaySDK-Model-Payout-Payout.html | 88 +- .../BitPaySDK-Model-Payout-PayoutGroup.html | 18 +- ...PaySDK-Model-Payout-PayoutGroupFailed.html | 18 +- ...itPaySDK-Model-Payout-PayoutRecipient.html | 18 +- ...tPaySDK-Model-Payout-PayoutRecipients.html | 68 +- .../BitPaySDK-Model-Payout-PayoutStatus.html | 18 +- ...PaySDK-Model-Payout-PayoutTransaction.html | 32 +- .../BitPaySDK-Model-Payout-PayoutWebhook.html | 2834 +++++++ ...Model-Payout-RecipientReferenceMethod.html | 18 +- ...itPaySDK-Model-Payout-RecipientStatus.html | 18 +- ...tPaySDK-Model-Payout-RecipientWebhook.html | 1020 +++ docs/classes/BitPaySDK-Model-Rate-Rate.html | 18 +- docs/classes/BitPaySDK-Model-Rate-Rates.html | 50 +- ...itPaySDK-Model-Settlement-InvoiceData.html | 32 +- ...BitPaySDK-Model-Settlement-PayoutInfo.html | 96 +- ...BitPaySDK-Model-Settlement-RefundInfo.html | 18 +- ...BitPaySDK-Model-Settlement-Settlement.html | 130 +- ...odel-Settlement-SettlementLedgerEntry.html | 18 +- ...tPaySDK-Model-Settlement-WithHoldings.html | 18 +- .../BitPaySDK-Model-Wallet-Currencies.html | 18 +- .../BitPaySDK-Model-Wallet-CurrencyQr.html | 18 +- .../BitPaySDK-Model-Wallet-Wallet.html | 436 +- docs/classes/BitPaySDK-PosClient.html | 684 +- docs/classes/BitPaySDK-Tokens.html | 40 +- .../BitPaySDK-Util-JsonMapperFactory.html | 18 +- .../BitPaySDK-Util-RESTcli-RESTcli.html | 277 +- docs/css/base.css | 3 +- .../src-bitpaysdk-client-billclient.html | 16 +- .../src-bitpaysdk-client-invoiceclient.html | 16 +- .../src-bitpaysdk-client-ledgerclient.html | 16 +- .../src-bitpaysdk-client-payoutclient.html | 16 +- ...tpaysdk-client-payoutrecipientsclient.html | 16 +- .../src-bitpaysdk-client-rateclient.html | 16 +- .../src-bitpaysdk-client-refundclient.html | 16 +- ...src-bitpaysdk-client-settlementclient.html | 16 +- .../src-bitpaysdk-client-tokenclient.html | 16 +- .../src-bitpaysdk-client-walletclient.html | 16 +- docs/files/src-bitpaysdk-client.html | 16 +- docs/files/src-bitpaysdk-env.html | 16 +- ...tpaysdk-exceptions-bitpayapiexception.html | 301 + ...-bitpaysdk-exceptions-bitpayexception.html | 21 +- ...dk-exceptions-bitpayexceptionprovider.html | 301 + ...sdk-exceptions-bitpaygenericexception.html | 301 + ...-exceptions-bitpayvalidationexception.html | 301 + .../src-bitpaysdk-logger-bitpaylogger.html | 302 + .../src-bitpaysdk-logger-emptylogger.html | 302 + .../src-bitpaysdk-logger-loggerprovider.html | 302 + ...bitpaysdk-logger-monologloggerexample.html | 293 + docs/files/src-bitpaysdk-model-bill-bill.html | 16 +- .../src-bitpaysdk-model-bill-billstatus.html | 16 +- docs/files/src-bitpaysdk-model-bill-item.html | 16 +- docs/files/src-bitpaysdk-model-currency.html | 16 +- docs/files/src-bitpaysdk-model-facade.html | 16 +- .../src-bitpaysdk-model-invoice-buyer.html | 16 +- ...c-bitpaysdk-model-invoice-buyerfields.html | 302 + ...aysdk-model-invoice-buyerprovidedinfo.html | 16 +- .../src-bitpaysdk-model-invoice-invoice.html | 16 +- ...-model-invoice-invoicerefundaddresses.html | 301 + ...bitpaysdk-model-invoice-invoicestatus.html | 16 +- ...ysdk-model-invoice-invoicetransaction.html | 301 + ...itpaysdk-model-invoice-invoicewebhook.html | 302 + ...tpaysdk-model-invoice-itemizeddetails.html | 16 +- ...src-bitpaysdk-model-invoice-minerfees.html | 16 +- ...bitpaysdk-model-invoice-minerfeesitem.html | 16 +- .../src-bitpaysdk-model-invoice-refund.html | 16 +- ...rc-bitpaysdk-model-invoice-refundinfo.html | 16 +- ...-bitpaysdk-model-invoice-refundstatus.html | 16 +- ...bitpaysdk-model-invoice-refundwebhook.html | 16 +- .../src-bitpaysdk-model-invoice-shopper.html | 16 +- ...nvoice-supportedtransactioncurrencies.html | 16 +- ...-invoice-supportedtransactioncurrency.html | 16 +- ...itpaysdk-model-invoice-universalcodes.html | 16 +- .../src-bitpaysdk-model-ledger-buyer.html | 16 +- .../src-bitpaysdk-model-ledger-ledger.html | 16 +- ...rc-bitpaysdk-model-ledger-ledgerentry.html | 16 +- .../src-bitpaysdk-model-payout-payout.html | 16 +- ...rc-bitpaysdk-model-payout-payoutgroup.html | 16 +- ...paysdk-model-payout-payoutgroupfailed.html | 16 +- ...itpaysdk-model-payout-payoutrecipient.html | 16 +- ...tpaysdk-model-payout-payoutrecipients.html | 16 +- ...c-bitpaysdk-model-payout-payoutstatus.html | 16 +- ...paysdk-model-payout-payouttransaction.html | 16 +- ...-bitpaysdk-model-payout-payoutwebhook.html | 302 + ...model-payout-recipientreferencemethod.html | 16 +- ...itpaysdk-model-payout-recipientstatus.html | 16 +- ...tpaysdk-model-payout-recipientwebhook.html | 302 + docs/files/src-bitpaysdk-model-rate-rate.html | 16 +- .../files/src-bitpaysdk-model-rate-rates.html | 16 +- ...itpaysdk-model-settlement-invoicedata.html | 16 +- ...bitpaysdk-model-settlement-payoutinfo.html | 16 +- ...bitpaysdk-model-settlement-refundinfo.html | 16 +- ...bitpaysdk-model-settlement-settlement.html | 16 +- ...odel-settlement-settlementledgerentry.html | 16 +- ...tpaysdk-model-settlement-withholdings.html | 16 +- ...src-bitpaysdk-model-wallet-currencies.html | 16 +- ...src-bitpaysdk-model-wallet-currencyqr.html | 16 +- .../src-bitpaysdk-model-wallet-wallet.html | 16 +- docs/files/src-bitpaysdk-posclient.html | 16 +- docs/files/src-bitpaysdk-tokens.html | 16 +- .../src-bitpaysdk-util-jsonmapperfactory.html | 16 +- .../src-bitpaysdk-util-restcli-restcli.html | 16 +- docs/graphs/classes.html | 16 +- docs/index.html | 16 +- docs/indices/files.html | 74 +- docs/js/searchIndex.js | 6528 +++++++++-------- docs/namespaces/bitpaysdk-client.html | 16 +- docs/namespaces/bitpaysdk-exceptions.html | 18 +- docs/namespaces/bitpaysdk-logger.html | 303 + docs/namespaces/bitpaysdk-model-bill.html | 16 +- docs/namespaces/bitpaysdk-model-invoice.html | 18 +- docs/namespaces/bitpaysdk-model-ledger.html | 16 +- docs/namespaces/bitpaysdk-model-payout.html | 18 +- docs/namespaces/bitpaysdk-model-rate.html | 16 +- .../bitpaysdk-model-settlement.html | 16 +- docs/namespaces/bitpaysdk-model-wallet.html | 16 +- docs/namespaces/bitpaysdk-model.html | 16 +- docs/namespaces/bitpaysdk-util-restcli.html | 16 +- docs/namespaces/bitpaysdk-util.html | 16 +- docs/namespaces/bitpaysdk.html | 17 +- docs/namespaces/default.html | 16 +- docs/packages/BitPaySDK-Client.html | 16 +- docs/packages/BitPaySDK-Model-Bill.html | 16 +- docs/packages/BitPaySDK-Model-Currencies.html | 16 +- docs/packages/BitPaySDK-Model-Invoice.html | 18 +- docs/packages/BitPaySDK-Model-Ledger.html | 16 +- docs/packages/BitPaySDK-Model-Payout.html | 16 +- docs/packages/BitPaySDK-Model-Rate.html | 16 +- docs/packages/BitPaySDK-Model-Settlement.html | 16 +- docs/packages/BitPaySDK-Model.html | 16 +- docs/packages/BitPaySDK-Util.html | 16 +- docs/packages/BitPaySDK.html | 21 +- docs/packages/default.html | 16 +- docs/reports/deprecated.html | 16 +- docs/reports/errors.html | 16 +- docs/reports/markers.html | 44 +- 182 files changed, 29919 insertions(+), 6821 deletions(-) create mode 100644 docs/classes/BitPaySDK-Exceptions-BitPayApiException.html create mode 100644 docs/classes/BitPaySDK-Exceptions-BitPayExceptionProvider.html create mode 100644 docs/classes/BitPaySDK-Exceptions-BitPayGenericException.html create mode 100644 docs/classes/BitPaySDK-Exceptions-BitPayValidationException.html create mode 100644 docs/classes/BitPaySDK-Logger-BitPayLogger.html create mode 100644 docs/classes/BitPaySDK-Logger-EmptyLogger.html create mode 100644 docs/classes/BitPaySDK-Logger-LoggerProvider.html create mode 100644 docs/classes/BitPaySDK-Model-Invoice-BuyerFields.html create mode 100644 docs/classes/BitPaySDK-Model-Invoice-InvoiceRefundAddresses.html create mode 100644 docs/classes/BitPaySDK-Model-Invoice-InvoiceTransaction.html create mode 100644 docs/classes/BitPaySDK-Model-Invoice-InvoiceWebhook.html create mode 100644 docs/classes/BitPaySDK-Model-Payout-PayoutWebhook.html create mode 100644 docs/classes/BitPaySDK-Model-Payout-RecipientWebhook.html create mode 100644 docs/files/src-bitpaysdk-exceptions-bitpayapiexception.html create mode 100644 docs/files/src-bitpaysdk-exceptions-bitpayexceptionprovider.html create mode 100644 docs/files/src-bitpaysdk-exceptions-bitpaygenericexception.html create mode 100644 docs/files/src-bitpaysdk-exceptions-bitpayvalidationexception.html create mode 100644 docs/files/src-bitpaysdk-logger-bitpaylogger.html create mode 100644 docs/files/src-bitpaysdk-logger-emptylogger.html create mode 100644 docs/files/src-bitpaysdk-logger-loggerprovider.html create mode 100644 docs/files/src-bitpaysdk-logger-monologloggerexample.html create mode 100644 docs/files/src-bitpaysdk-model-invoice-buyerfields.html create mode 100644 docs/files/src-bitpaysdk-model-invoice-invoicerefundaddresses.html create mode 100644 docs/files/src-bitpaysdk-model-invoice-invoicetransaction.html create mode 100644 docs/files/src-bitpaysdk-model-invoice-invoicewebhook.html create mode 100644 docs/files/src-bitpaysdk-model-payout-payoutwebhook.html create mode 100644 docs/files/src-bitpaysdk-model-payout-recipientwebhook.html create mode 100644 docs/namespaces/bitpaysdk-logger.html diff --git a/docs/classes/BitPaySDK-Client-BillClient.html b/docs/classes/BitPaySDK-Client-BillClient.html index 5ff27700..d9663cd8 100644 --- a/docs/classes/BitPaySDK-Client-BillClient.html +++ b/docs/classes/BitPaySDK-Client-BillClient.html @@ -54,7 +54,7 @@

Bit Menu

-public " > -

- getStatus() - +

+ setImmediate() +

public - getStatus() : string + setImmediate(bool|null $immediate) : void
- - +
Parameters
+
+
+ $immediate + : bool|null +
+
+ +
+
-
-
Return values
- string -
+ +
Return values -public " > -

- getSupportRequest() - +

+ setInvoice() +

public - getSupportRequest() : string + setInvoice(string|null $invoice) : void
+
Parameters
+
+
+ $invoice + : string|null +
+
+ +
+
+ + + +
+
+

+ setLastRefundNotification() + + +

+ + + + public + setLastRefundNotification(string|null $lastRefundNotification) : void -
-
Return values
- string -
+
+
+ +
Parameters
+
+
+ $lastRefundNotification + : string|null +
+
+ +
+
+ + +
Return values -public " > -

- setAmount() - +

+ setReference() +

public - setAmount(float $amount) : void + setReference(string|null $reference) : void
@@ -1265,8 +2246,8 @@

Parameters
- $amount - : float + $reference + : string|null
@@ -1283,22 +2264,22 @@
Parameters
-public " > -

- setBuyerPaysRefundFee() - +

+ setRefundAddress() +

public - setBuyerPaysRefundFee(bool $buyerPaysRefundFee) : void + setRefundAddress(string|null $refundAddress) : void
@@ -1306,8 +2287,8 @@

Parameters
- $buyerPaysRefundFee - : bool + $refundAddress + : string|null
@@ -1324,22 +2305,22 @@
Parameters
-public " > -

- setCurrency() - +

+ setRefundFee() +

public - setCurrency(string $currency) : void + setRefundFee(float|null $refundFee) : void
@@ -1347,8 +2328,8 @@

Parameters
- $currency - : string + $refundFee + : float|null
@@ -1365,22 +2346,22 @@
Parameters
-public " > -

- setId() - +

+ setRequestDate() +

public - setId(string $id) : void + setRequestDate(string|null $requestDate) : void
@@ -1388,8 +2369,8 @@

Parameters
- $id - : string + $requestDate + : string|null
@@ -1406,22 +2387,22 @@
Parameters
-public " > -

- setImmediate() - +

+ setStatus() +

public - setImmediate(bool $immediate) : void + setStatus(string|null $status) : void
@@ -1429,8 +2410,8 @@

Parameters
- $immediate - : bool + $status + : string|null
@@ -1447,22 +2428,22 @@
Parameters
-public " > -

- setInvoice() - +

+ setSupportRequest() +

public - setInvoice(string $invoice) : void + setSupportRequest(string|null $supportRequest) : void
@@ -1470,8 +2451,8 @@

Parameters
- $invoice - : string + $supportRequest + : string|null
@@ -1488,22 +2469,22 @@
Parameters
-public " > -

- setLastRefundNotification() - +

+ setTransactionAmount() +

public - setLastRefundNotification(string $lastRefundNotification) : void + setTransactionAmount(float|null $transactionAmount) : void
@@ -1511,8 +2492,8 @@

Parameters
- $lastRefundNotification - : string + $transactionAmount + : float|null
@@ -1529,22 +2510,22 @@
Parameters
-public " > -

- setRefundFee() - +

+ setTransactionCurrency() +

public - setRefundFee(float $refundFee) : void + setTransactionCurrency(string|null $transactionCurrency) : void
@@ -1552,8 +2533,8 @@

Parameters
- $refundFee - : float + $transactionCurrency + : string|null
@@ -1570,22 +2551,22 @@
Parameters
-public " > -

- setRequestDate() - +

+ setTransactionRefundFee() +

public - setRequestDate(string $requestDate) : void + setTransactionRefundFee(float|null $transactionRefundFee) : void
@@ -1593,8 +2574,8 @@

Parameters
- $requestDate - : string + $transactionRefundFee + : float|null
@@ -1611,22 +2592,22 @@
Parameters
-public " > -

- setStatus() - +

+ setTxid() +

public - setStatus(string $status) : void + setTxid(string|null $txid) : void
@@ -1634,8 +2615,8 @@

Parameters
- $status - : string + $txid + : string|null
@@ -1652,22 +2633,22 @@
Parameters
-public " > -

- setSupportRequest() - +

+ setType() +

public - setSupportRequest(string $supportRequest) : void + setType(string|null $type) : void
@@ -1675,8 +2656,8 @@

Parameters
- $supportRequest - : string + $type + : string|null
@@ -1701,7 +2682,7 @@

@@ -1838,43 +2819,66 @@

Return values
  • $amount
  • $buyerPaysRefundFee
  • $currency
  • +
  • $guid
  • $id
  • $immediate
  • $invoice
  • $lastRefundNotification
  • +
  • $reference
  • +
  • $refundAddress
  • $refundFee
  • $requestDate
  • $status
  • $supportRequest
  • +
  • $transactionAmount
  • +
  • $transactionCurrency
  • +
  • $transactionRefundFee
  • +
  • $txid
  • +
  • $type
  • Methods
  • diff --git a/docs/classes/BitPaySDK-Model-Invoice-Shopper.html b/docs/classes/BitPaySDK-Model-Invoice-Shopper.html index 768f45b7..d52e1853 100644 --- a/docs/classes/BitPaySDK-Model-Invoice-Shopper.html +++ b/docs/classes/BitPaySDK-Model-Invoice-Shopper.html @@ -54,7 +54,7 @@

    Bit Menu

    - - -
    -

    - Methods - - -

    + + + + + + + + +
    + +
    +

    + Methods + + +

    +
    +

    + __construct() + + +

    + + +

    SupportedTransactionCurrencies constructor.

    + + + public + __construct() : mixed + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + +
    +

    + getShibM() + + +

    + -

    Gets BCH.

    +

    Gets SHIB_m.

    public - getBCH() : SupportedTransactionCurrency + getShibM() : SupportedTransactionCurrency
    @@ -918,23 +1990,23 @@
    Return values
    -public " > -

    - getBTC() - +

    + getUSDC() +

    -

    Gets BTC.

    +

    Gets USDC.

    public - getBTC() : SupportedTransactionCurrency + getUSDC() : SupportedTransactionCurrency
    @@ -954,23 +2026,23 @@
    Return values
    -public " > -

    - getBUSD() - +

    + getUsdcM() +

    -

    Gets BUSD.

    +

    Gets USDC_m.

    public - getBUSD() : SupportedTransactionCurrency + getUsdcM() : SupportedTransactionCurrency
    @@ -990,23 +2062,23 @@
    Return values
    -public " > -

    - getDOGE() - +

    + getWBTC() +

    -

    Gets DOGE.

    +

    Gets WBTC.

    public - getDOGE() : SupportedTransactionCurrency + getWBTC() : SupportedTransactionCurrency
    @@ -1026,23 +2098,23 @@
    Return values
    -public " > -

    - getETH() - +

    + getWbtcM() +

    -

    Gets ETH.

    +

    Gets WBTC_m.

    public - getETH() : SupportedTransactionCurrency + getWbtcM() : SupportedTransactionCurrency
    @@ -1062,23 +2134,23 @@
    Return values
    -public " > -

    - getGUSD() - +

    + getXRP() +

    -

    Gets GUSD.

    +

    Gets XRP.

    public - getGUSD() : SupportedTransactionCurrency + getXRP() : SupportedTransactionCurrency
    @@ -1098,35 +2170,213 @@
    Return values
    -public " > -

    - getLTC() - +

    + setBCH() +

    -

    Gets LTC.

    +

    Sets BCH.

    public - getLTC() : SupportedTransactionCurrency + setBCH(SupportedTransactionCurrency $bch) : void
    +
    Parameters
    +
    +
    + $bch + : SupportedTransactionCurrency +
    +
    +

    the BCH

    +
    + +
    +
    + + +
    + + + +
    Return values -public " > -

    - setBCH() - +

    + setEUROC() +

    -

    Sets BCH.

    +

    Sets EUROC.

    public - setBCH(SupportedTransactionCurrency $bch) : void + setEUROC(SupportedTransactionCurrency $euroc) : void
    @@ -1302,13 +2578,11 @@

    Parameters
    - $bch + $euroc : SupportedTransactionCurrency
    -

    the BCH

    -
    - +
    @@ -1322,23 +2596,23 @@
    Parameters
    -public " > -

    - setBTC() - +

    + setGUSD() +

    -

    Sets BTC.

    +

    Sets GUSD.

    public - setBTC(SupportedTransactionCurrency $btc) : void + setGUSD(SupportedTransactionCurrency $gusd) : void
    @@ -1346,11 +2620,11 @@

    Parameters
    - $btc + $gusd : SupportedTransactionCurrency
    -

    the BTC

    +

    the GUSD

    @@ -1366,23 +2640,23 @@
    Parameters
    -public " > -

    - setBUSD() - +

    + setLTC() +

    -

    Sets BUSD.

    +

    Sets LTC.

    public - setBUSD(SupportedTransactionCurrency $busd) : void + setLTC(SupportedTransactionCurrency $ltc) : void
    @@ -1390,7 +2664,7 @@

    Parameters
    - $busd + $ltc : SupportedTransactionCurrency
    @@ -1408,23 +2682,23 @@
    Parameters
    -public " > -

    - setDOGE() - +

    + setMATIC() +

    -

    Sets DOGE.

    +

    Sets MATIC.

    public - setDOGE(SupportedTransactionCurrency $doge) : void + setMATIC(SupportedTransactionCurrency $matic) : void
    @@ -1432,7 +2706,7 @@

    Parameters
    - $doge + $matic : SupportedTransactionCurrency
    @@ -1450,23 +2724,23 @@
    Parameters
    -public " > -

    - setETH() - +

    + setMaticE() +

    -

    Sets ETH.

    +

    Sets MATIC_e.

    public - setETH(SupportedTransactionCurrency $eth) : void + setMaticE(SupportedTransactionCurrency $maticE) : void
    @@ -1474,13 +2748,11 @@

    Parameters
    - $eth + $maticE : SupportedTransactionCurrency
    -

    the ETH

    -
    - +
    @@ -1494,23 +2766,23 @@
    Parameters
    -public " > -

    - setGUSD() - +

    + setPAX() +

    -

    Sets GUSD.

    +

    Sets PAX.

    public - setGUSD(SupportedTransactionCurrency $gusd) : void + setPAX(SupportedTransactionCurrency $pax) : void
    @@ -1518,11 +2790,11 @@

    Parameters
    - $gusd + $pax : SupportedTransactionCurrency
    -

    the GUSD

    +

    the PAX

    @@ -1538,23 +2810,23 @@
    Parameters
    -public " > -

    - setLTC() - +

    + setShibM() +

    -

    Sets LTC.

    +

    Sets SHIB_m.

    public - setLTC(SupportedTransactionCurrency $ltc) : void + setShibM(SupportedTransactionCurrency $shibM) : void
    @@ -1562,7 +2834,7 @@

    Parameters
    - $ltc + $shibM : SupportedTransactionCurrency
    @@ -1580,23 +2852,23 @@
    Parameters
    -public " > -

    - setPAX() - +

    + setUSDC() +

    -

    Sets PAX.

    +

    Sets USDC.

    public - setPAX(SupportedTransactionCurrency $pax) : void + setUSDC(SupportedTransactionCurrency $usdc) : void
    @@ -1604,11 +2876,11 @@

    Parameters
    - $pax + $usdc : SupportedTransactionCurrency
    -

    the PAX

    +

    the USDC

    @@ -1624,23 +2896,23 @@
    Parameters
    -public " > -

    - setUSDC() - +

    + setUsdcM() +

    -

    Sets USDC.

    +

    Sets USDC_m.

    public - setUSDC(SupportedTransactionCurrency $usdc) : void + setUsdcM(SupportedTransactionCurrency $usdcM) : void
    @@ -1648,13 +2920,11 @@

    Parameters
    - $usdc + $usdcM : SupportedTransactionCurrency
    -

    the USDC

    -
    - +
    @@ -1676,7 +2946,7 @@

    @@ -1703,6 +2973,48 @@

    Parameters
    +
    +
    @@ -1762,7 +3074,7 @@

    @@ -1900,13 +3212,23 @@

    Return values
  • $bch
  • $btc
  • $busd
  • +
  • $busdM
  • +
  • $dai
  • +
  • $daiM
  • $doge
  • $eth
  • +
  • $ethM
  • +
  • $euroc
  • $gusd
  • $ltc
  • +
  • $matic
  • +
  • $maticE
  • $pax
  • +
  • $shibM
  • $usdc
  • +
  • $usdcM
  • $wbtc
  • +
  • $wbtcM
  • $xrp
  • @@ -1918,24 +3240,44 @@
    Return values
  • getBCH()
  • getBTC()
  • getBUSD()
  • +
  • getBusdM()
  • +
  • getDAI()
  • +
  • getDaiM()
  • getDOGE()
  • getETH()
  • +
  • getEthM()
  • +
  • getEUROC()
  • getGUSD()
  • getLTC()
  • +
  • getMATIC()
  • +
  • getMaticE()
  • getPAX()
  • +
  • getShibM()
  • getUSDC()
  • +
  • getUsdcM()
  • getWBTC()
  • +
  • getWbtcM()
  • getXRP()
  • setBCH()
  • setBTC()
  • setBUSD()
  • +
  • setBusdM()
  • +
  • setDAI()
  • +
  • setDaiM()
  • setDOGE()
  • setETH()
  • +
  • setEthM()
  • +
  • setEUROC()
  • setGUSD()
  • setLTC()
  • +
  • setMATIC()
  • +
  • setMaticE()
  • setPAX()
  • +
  • setShibM()
  • setUSDC()
  • +
  • setUsdcM()
  • setWBTC()
  • +
  • setWbtcM()
  • setXRP()
  • toArray()
  • diff --git a/docs/classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrency.html b/docs/classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrency.html index 73e973b0..cdbe23f0 100644 --- a/docs/classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrency.html +++ b/docs/classes/BitPaySDK-Model-Invoice-SupportedTransactionCurrency.html @@ -54,7 +54,7 @@

    Bit Menu

    @@ -1183,7 +1185,7 @@

    public - getCode() : string|null + getCode() : int|null
    @@ -1196,7 +1198,7 @@

    Return values
    - string|null + int|null

    the code

    @@ -1469,7 +1471,7 @@

    public - getScale() : string|null + getScale() : int|null
    @@ -1481,7 +1483,7 @@

    Return values
    - string|null + int|null

    the scale

    @@ -1716,7 +1718,7 @@

    public - setAmount(string $amount) : void + setAmount(float $amount) : void
    @@ -1727,7 +1729,7 @@

    Parameters
    $amount - : string + : float

    the amount

    @@ -1806,7 +1808,7 @@

    public - setCode(string $code) : void + setCode(int $code) : void
    @@ -1818,7 +1820,7 @@

    Parameters
    $code - : string + : int

    the code

    @@ -2120,7 +2122,7 @@

    public - setScale(string $scale) : void + setScale(int $scale) : void
    @@ -2131,7 +2133,7 @@

    Parameters
    $scale - : string + : int

    the scale

    diff --git a/docs/classes/BitPaySDK-Model-Payout-Payout.html b/docs/classes/BitPaySDK-Model-Payout-Payout.html index 3cce57ce..4da7004a 100644 --- a/docs/classes/BitPaySDK-Model-Payout-Payout.html +++ b/docs/classes/BitPaySDK-Model-Payout-Payout.html @@ -54,7 +54,7 @@

    Bit Menu

    @@ -252,7 +252,7 @@

    getGuid() -  : string +  : string|null
    Gets guid.
    @@ -266,7 +266,7 @@

    getToken() -  : string +  : string|null
    Gets token.
    @@ -306,6 +306,8 @@

    + +

    Properties @@ -329,16 +331,16 @@

    protected - string + string|null $guid - = '' + = null @@ -362,7 +364,7 @@

    @@ -395,16 +397,16 @@

    protected - string + string|null $token - = '' + = null @@ -433,7 +435,7 @@

    @@ -477,7 +479,7 @@

    @@ -485,7 +487,7 @@

    public - getGuid() : string + getGuid() : string|null
    @@ -495,7 +497,7 @@

    Return values
    - string + string|null
    @@ -513,7 +515,7 @@

    @@ -549,7 +551,7 @@

    @@ -557,7 +559,7 @@

    public - getToken() : string + getToken() : string|null
    @@ -567,7 +569,7 @@

    Return values
    - string + string|null
    @@ -585,7 +587,7 @@

    @@ -627,7 +629,7 @@

    @@ -662,7 +664,7 @@

    throws
    - PayoutRecipientException + BitPayValidationException
    @@ -684,7 +686,7 @@

    @@ -726,7 +728,7 @@

    diff --git a/docs/classes/BitPaySDK-Model-Payout-PayoutStatus.html b/docs/classes/BitPaySDK-Model-Payout-PayoutStatus.html index 593cc36a..b16d5833 100644 --- a/docs/classes/BitPaySDK-Model-Payout-PayoutStatus.html +++ b/docs/classes/BitPaySDK-Model-Payout-PayoutStatus.html @@ -54,7 +54,7 @@

    Bit Menu

    @@ -295,6 +313,12 @@

    Gets image
    +
    + getInvoiceDefault() + +  : string|null +
    +
    getKey() @@ -302,6 +326,12 @@

    Gets A unique identifier for the wallet
    +
    + getOffChainMode() + +  : bool|null +
    +
    getPayPro() @@ -309,6 +339,12 @@

    Gets pay pro
    +
    + getUniCode() + +  : string|null +
    +
    setAvatar() @@ -337,6 +373,12 @@

    Sets image
    +
    + setInvoiceDefault() + +  : void +
    +
    setKey() @@ -344,6 +386,12 @@

    Sets A unique identifier for the wallet
    +
    + setOffChainMode() + +  : void +
    +
    setPayPro() @@ -351,6 +399,12 @@

    Sets pay pro
    +
    + setUniCode() + +  : void +
    +
    toArray() @@ -366,6 +420,8 @@

    + +

    Properties @@ -503,6 +559,39 @@

    + +
    +

    + $invoiceDefault + + + + +

    + + + + + protected + string|null + $invoiceDefault + = null + + + + +
    +
    +
    +

    + $offChainMode + + + + +

    + + + + + protected + bool|null + $offChainMode + = null + + + + +
    +
    +
    +

    + $uniCode + + + + +

    + + + + + protected + string|null + $uniCode + = null + + + + +

    @@ -592,7 +747,7 @@

    @@ -624,7 +779,7 @@

    @@ -666,7 +821,7 @@

    @@ -708,7 +863,7 @@

    @@ -750,7 +905,7 @@

    @@ -777,6 +932,41 @@

    Return values

    + +
    +

    + getInvoiceDefault() + + +

    + + + + + public + getInvoiceDefault() : string|null + +
    +
    + + + + +
    +
    Return values
    + string|null +
    +
    @@ -817,6 +1007,41 @@
    Return values
    + +
    +

    + getOffChainMode() + + +

    + + + + + public + getOffChainMode() : bool|null + +
    +
    + + + + +
    +
    Return values
    + bool|null +
    +
    @@ -859,6 +1084,41 @@
    Return values

    + +
    +

    + getUniCode() + + +

    + + + + + public + getUniCode() : string|null + +
    +
    + + + + +
    +
    Return values
    + string|null +
    +
    +
    +

    + setInvoiceDefault() + + +

    + + + + + public + setInvoiceDefault(string|null $invoiceDefault) : void + +
    +
    + +
    Parameters
    +
    +
    + $invoiceDefault + : string|null +
    +
    + +
    +
    + + + +
    @@ -1087,6 +1388,47 @@
    Parameters
    +
    +
    +

    + setOffChainMode() + + +

    + + + + + public + setOffChainMode(bool|null $offChainMode) : void + +
    +
    + +
    Parameters
    +
    +
    + $offChainMode + : bool|null +
    +
    + +
    +
    + + + +
    @@ -1133,6 +1475,47 @@
    Parameters
    +
    +
    +

    + setUniCode() + + +

    + + + + + public + setUniCode(string|null $uniCode) : void + +
    +
    + +
    Parameters
    +
    +
    + $uniCode + : string|null +
    +
    + +
    +
    + + + +
    @@ -1291,8 +1674,11 @@
    Return values
  • $currencies
  • $displayName
  • $image
  • +
  • $invoiceDefault
  • $key
  • +
  • $offChainMode
  • $payPro
  • +
  • $uniCode
  • @@ -1304,14 +1690,20 @@
    Return values
  • getCurrencies()
  • getDisplayName()
  • getImage()
  • +
  • getInvoiceDefault()
  • getKey()
  • +
  • getOffChainMode()
  • getPayPro()
  • +
  • getUniCode()
  • setAvatar()
  • setCurrencies()
  • setDisplayName()
  • setImage()
  • +
  • setInvoiceDefault()
  • setKey()
  • +
  • setOffChainMode()
  • setPayPro()
  • +
  • setUniCode()
  • toArray()
  • diff --git a/docs/classes/BitPaySDK-PosClient.html b/docs/classes/BitPaySDK-PosClient.html index 315bb679..b8b594b7 100644 --- a/docs/classes/BitPaySDK-PosClient.html +++ b/docs/classes/BitPaySDK-PosClient.html @@ -54,7 +54,7 @@

    Bit Menu

    @@ -955,7 +936,7 @@

    @@ -1009,7 +990,7 @@

    throws
    - InvoiceCancellationException + BitPayApiException
    @@ -1017,7 +998,7 @@
    throws
    - BitPayException + BitPayGenericException
    @@ -1047,7 +1028,7 @@

    @@ -1101,7 +1082,7 @@

    throws
    - InvoiceCancellationException + BitPayApiException
    @@ -1109,7 +1090,7 @@
    throws
    - BitPayException + BitPayGenericException
    @@ -1139,7 +1120,7 @@

    @@ -1186,7 +1167,15 @@

    throws
    - PayoutCancellationException + BitPayGenericException + + +
    +
    + throws +
    +
    + BitPayApiException
    @@ -1212,7 +1201,7 @@

    @@ -1256,7 +1245,15 @@

    throws
    - PayoutCancellationException + BitPayApiException + + +
    +
    + throws +
    +
    + BitPayGenericException
    @@ -1282,7 +1279,7 @@

    @@ -1329,15 +1326,7 @@

    throws
    - RefundCancellationException - - -
    -
    - throws -
    -
    - BitPayException + BitPayApiException
    @@ -1367,7 +1356,7 @@

    @@ -1414,15 +1403,7 @@

    throws
    - RefundCancellationException - - -
    -
    - throws -
    -
    - BitPayException + BitPayApiException
    @@ -1452,7 +1433,7 @@

    @@ -1517,7 +1498,15 @@

    throws
    - BitPayException + BitPayApiException + + +
    +
    + throws +
    +
    + BitPayGenericException
    @@ -1543,7 +1532,7 @@

    @@ -1608,7 +1597,15 @@

    throws
    - BitPayException + BitPayApiException + + +
    +
    + throws +
    +
    + BitPayGenericException
    @@ -1634,7 +1631,7 @@

    @@ -1678,7 +1675,15 @@

    throws
    - PayoutCreationException + BitPayGenericException + + +
    +
    + throws +
    +
    + BitPayApiException
    @@ -1704,7 +1709,7 @@

    @@ -1806,9 +1811,9 @@

    throws
    - RefundCreationException + BitPayApiException -

    RefundCreationException class

    +

    BitPayException class

    @@ -1816,9 +1821,9 @@
    throws
    - BitPayException + BitPayGenericException -

    BitPayException class

    +

    BitPayGenericException

    @@ -1848,7 +1853,7 @@

    @@ -1922,7 +1927,15 @@

    throws
    - BitPayException + BitPayApiException + + +
    +
    + throws +
    +
    + BitPayGenericException
    @@ -1948,7 +1961,7 @@

    @@ -1985,11 +1998,9 @@

    throws
    - BitPayException + BitPayGenericException -

    BitPayException class

    -
    - +
    @@ -2013,7 +2024,7 @@

    @@ -2060,7 +2071,15 @@

    throws
    - PayoutRecipientCancellationException + BitPayGenericException + + +
    +
    + throws +
    +
    + BitPayApiException
    @@ -2090,7 +2109,7 @@

    @@ -2155,7 +2174,15 @@

    throws
    - BitPayException + BitPayApiException + + +
    +
    + throws +
    +
    + BitPayGenericException
    @@ -2181,7 +2208,7 @@

    @@ -2246,7 +2273,15 @@

    throws
    - BitPayException + BitPayApiException + + +
    +
    + throws +
    +
    + BitPayGenericException
    @@ -2272,7 +2307,7 @@

    @@ -2317,7 +2352,15 @@

    throws
    - BitPayException + BitPayApiException + + +
    +
    + throws +
    +
    + BitPayGenericException
    @@ -2343,7 +2386,7 @@

    @@ -2368,21 +2411,17 @@

    throws
    - CurrencyQueryException + BitPayGenericException -

    CurrencyQueryException class

    -
    - +
    throws
    - BitPayException + BitPayApiException -

    BitPayException class

    -
    - +
    @@ -2410,7 +2449,7 @@

    @@ -2467,7 +2506,15 @@

    throws
    - BitPayException + BitPayApiException + + +
    +
    + throws +
    +
    + BitPayGenericException
    @@ -2497,7 +2544,7 @@

    @@ -2545,7 +2592,15 @@

    throws
    - BitPayException + BitPayApiException + + +
    +
    + throws +
    +
    + BitPayGenericException
    @@ -2575,7 +2630,7 @@

    @@ -2641,7 +2696,15 @@

    throws
    - InvoiceQueryException + BitPayApiException + + +
    +
    + throws +
    +
    + BitPayGenericException
    @@ -2667,7 +2730,7 @@

    @@ -2734,7 +2797,15 @@

    throws
    - InvoiceQueryException + BitPayApiException + + +
    +
    + throws +
    +
    + BitPayGenericException
    @@ -2760,7 +2831,7 @@

    @@ -2853,7 +2924,15 @@

    throws
    - BitPayException + BitPayApiException + + +
    +
    + throws +
    +
    + BitPayGenericException
    @@ -2879,7 +2958,7 @@

    @@ -2944,7 +3023,15 @@

    throws
    - BitPayException + BitPayApiException + + +
    +
    + throws +
    +
    + BitPayGenericException
    @@ -2974,7 +3061,7 @@

    @@ -3009,7 +3096,15 @@

    throws
    - BitPayException + BitPayApiException + + +
    +
    + throws +
    +
    + BitPayGenericException
    @@ -3039,7 +3134,7 @@

    @@ -3087,7 +3182,15 @@

    throws
    - PayoutQueryException + BitPayGenericException + + +
    +
    + throws +
    +
    + BitPayApiException
    @@ -3161,7 +3264,7 @@
    throws
    - PayoutQueryException + BitPayGenericException
    @@ -3169,7 +3272,7 @@
    throws
    - PayoutRecipientQueryException + BitPayApiException
    @@ -3195,7 +3298,7 @@

    @@ -3261,7 +3364,15 @@

    throws
    - BitPayException + BitPayApiException + + +
    +
    + throws +
    +
    + BitPayGenericException
    @@ -3287,7 +3398,7 @@

    @@ -3380,7 +3491,15 @@

    throws
    - PayoutQueryException + BitPayGenericException + + +
    +
    + throws +
    +
    + BitPayApiException
    @@ -3406,7 +3525,7 @@

    @@ -3439,7 +3558,15 @@

    throws
    - BitPayException + BitPayApiException + + +
    +
    + throws +
    +
    + BitPayGenericException
    @@ -3465,7 +3592,7 @@

    @@ -3512,7 +3639,7 @@

    throws
    - RefundQueryException + BitPayApiException
    @@ -3520,7 +3647,7 @@
    throws
    - BitPayException + BitPayGenericException
    @@ -3550,7 +3677,7 @@

    @@ -3597,7 +3724,7 @@

    throws
    - BitPayException + BitPayApiException
    @@ -3605,7 +3732,7 @@
    throws
    - RefundQueryException + BitPayGenericException
    @@ -3635,7 +3762,7 @@

    @@ -3682,15 +3809,7 @@

    throws
    - RefundQueryException - - -
    -
    - throws -
    -
    - BitPayException + BitPayApiException
    @@ -3716,7 +3835,7 @@

    @@ -3763,7 +3882,15 @@

    throws
    - BitPayException + BitPayApiException + + +
    +
    + throws +
    +
    + BitPayGenericException
    @@ -3789,7 +3916,7 @@

    Client.php : - 990 + 1005 @@ -3797,7 +3924,7 @@

    public - getSettlementReconciliationReport(Settlement $settlement) : Settlement + getSettlementReconciliationReport(string $settlementId, string $settlementToken) : Settlement
    @@ -3805,11 +3932,20 @@

    Parameters

    - $settlement - : Settlement + $settlementId + : string +
    +
    +

    Settlement ID

    +
    + +
    +
    + $settlementToken + : string
    -

    Settlement to generate report for.

    +

    Settlement Token

    @@ -3836,7 +3972,15 @@
    throws
    - BitPayException + BitPayApiException + + +
    +
    + throws +
    +
    + BitPayGenericException
    @@ -3862,7 +4006,7 @@

    @@ -3957,7 +4101,15 @@

    throws
    - BitPayException + BitPayApiException + + +
    +
    + throws +
    +
    + BitPayGenericException
    @@ -3983,7 +4135,7 @@

    @@ -4018,7 +4170,7 @@

    throws
    - WalletQueryException + BitPayApiException
    @@ -4026,7 +4178,7 @@
    throws
    - BitPayException + BitPayGenericException
    @@ -4052,7 +4204,7 @@

    @@ -4077,7 +4229,7 @@

    throws
    - BitPayException + BitPayApiException
    @@ -4085,7 +4237,7 @@
    throws
    - JsonException + BitPayGenericException
    @@ -4111,7 +4263,7 @@

    @@ -4157,7 +4309,7 @@

    throws
    - InvoicePaymentException + BitPayApiException
    @@ -4165,7 +4317,7 @@
    throws
    - BitPayException + BitPayGenericException
    @@ -4195,7 +4347,7 @@

    @@ -4242,7 +4394,7 @@

    throws
    - InvoiceQueryException + BitPayApiException
    @@ -4250,7 +4402,7 @@
    throws
    - BitPayException + BitPayGenericException
    @@ -4280,7 +4432,7 @@

    @@ -4327,11 +4479,17 @@

    throws
    - PayoutNotificationException + BitPayGenericException -

    BitPayException class

    -
    - + +
    +
    + throws +
    +
    + BitPayApiException + +
    @@ -4355,7 +4513,7 @@

    Client.php : - 807 + 811 @@ -4402,7 +4560,15 @@

    throws
    - PayoutRecipientNotificationException + BitPayGenericException + + +
    +
    + throws +
    +
    + BitPayApiException
    @@ -4432,7 +4598,7 @@

    @@ -4479,15 +4645,7 @@

    throws
    - RefundCreationException - - -
    -
    - throws -
    -
    - BitPayException + BitPayApiException
    @@ -4517,7 +4675,7 @@

    @@ -4564,7 +4722,15 @@

    throws
    - PayoutCreationException + BitPayGenericException + + +
    +
    + throws +
    +
    + BitPayApiException
    @@ -4637,7 +4803,15 @@
    throws
    - PayoutRecipientCreationException + BitPayGenericException + + +
    +
    + throws +
    +
    + BitPayApiException
    @@ -4667,7 +4841,7 @@

    @@ -4723,7 +4897,15 @@

    throws
    - BitPayException + BitPayApiException + + +
    +
    + throws +
    +
    + BitPayGenericException
    @@ -4749,7 +4931,7 @@

    @@ -4832,7 +5014,7 @@

    throws
    - BitPayException + BitPayApiException
    @@ -4840,7 +5022,7 @@
    throws
    - InvoiceUpdateException + BitPayGenericException
    @@ -4866,7 +5048,7 @@

    @@ -4922,7 +5104,15 @@

    throws
    - PayoutRecipientUpdateException + BitPayGenericException + + +
    +
    + throws +
    +
    + BitPayApiException
    @@ -4948,7 +5138,7 @@

    @@ -5004,15 +5194,7 @@

    throws
    - RefundUpdateException - - -
    -
    - throws -
    -
    - BitPayException + BitPayApiException
    @@ -5042,7 +5224,7 @@

    @@ -5098,15 +5280,7 @@

    throws
    - RefundUpdateException - - -
    -
    - throws -
    -
    - BitPayException + BitPayApiException
    @@ -5136,7 +5310,7 @@

    @@ -5176,7 +5350,7 @@

    @@ -5216,7 +5390,7 @@

    @@ -5256,7 +5430,7 @@

    @@ -5296,7 +5470,7 @@

    @@ -5336,7 +5510,7 @@

    @@ -5376,7 +5550,7 @@

    @@ -5416,7 +5590,7 @@

    @@ -5456,7 +5630,7 @@

    @@ -5496,7 +5670,7 @@

    @@ -5530,7 +5704,7 @@

    throws
    - BitPayException + BitPayGenericException
    @@ -5556,7 +5730,7 @@

    @@ -5592,7 +5766,7 @@

    @@ -5617,11 +5791,9 @@

    throws
    - BitPayException + BitPayGenericException -

    BitPayException class

    -
    - +
    @@ -5641,7 +5813,7 @@

    @@ -5682,7 +5854,7 @@

    throws
    - BitPayException + BitPayApiException
    @@ -5816,8 +5988,8 @@
    Return values
  • @@ -5826,7 +5998,7 @@
    Return values
  • Methods
  • -
    +

    Packages

    BitPaySDK @@ -88,10 +92,6 @@

  • Client -
  • -
  • - Exceptions -
  • Model @@ -105,14 +105,14 @@

  • -
    +

    Reports

    Deprecated

    Errors

    Markers

    -
    +

    Indices

    Files

    @@ -147,7 +147,7 @@

    @@ -274,6 +274,8 @@

    + +

    Properties @@ -297,7 +299,7 @@

    @@ -330,7 +332,7 @@

    @@ -363,7 +365,7 @@

    @@ -401,7 +403,7 @@

    @@ -457,7 +459,7 @@

    @@ -492,7 +494,7 @@

    @@ -526,7 +528,7 @@

    throws
    - Exception + BitPayGenericException
    @@ -552,7 +554,7 @@

    @@ -597,7 +599,7 @@

    @@ -638,7 +640,7 @@

    diff --git a/docs/classes/BitPaySDK-Util-JsonMapperFactory.html b/docs/classes/BitPaySDK-Util-JsonMapperFactory.html index b10175b6..da1f661e 100644 --- a/docs/classes/BitPaySDK-Util-JsonMapperFactory.html +++ b/docs/classes/BitPaySDK-Util-JsonMapperFactory.html @@ -54,7 +54,7 @@

    Bit Menu